Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 192.3 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 62.66 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3281, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002327/0.3305, allocations: 1.282 MB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008652/0.3314, allocations: 458.6 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.3314, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.3314, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.66e-05/0.3315, allocations: 3.938 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.3319, allocations: 83.78 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.013e-05/0.332, allocations: 19.92 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.332, allocations: 4 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.332, allocations: 4 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.3321, allocations: 11.92 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3321, allocations: 8 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.3323, allocations: 95.84 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3323, allocations: 3.984 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.3323, allocations: 15.92 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.3325, allocations: 95.77 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3325, allocations: 3.984 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.32e-07/0.3325, allocations: 0 / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.3325, allocations: 0 / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004439/0.333, allocations: 378.5 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.333, allocations: 12.03 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.3331, allocations: 12.83 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3332, allocations: 168.3 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.3332, allocations: 4.375 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3332, allocations: 4.375 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/0.3333, allocations: 34.25 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3334, allocations: 192 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3334, allocations: 7.938 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3334, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.3334, allocations: 3.984 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.3336, allocations: 161.7 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.3336, allocations: 30.55 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.3337, allocations: 16.86 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.3337, allocations: 0 / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.3338, allocations: 51.5 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3339, allocations: 4 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002159/0.3341, allocations: 73.55 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3341, allocations: 51.41 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.118e-05/0.3342, allocations: 109.8 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3342, allocations: 25.7 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.3343, allocations: 80.14 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3343, allocations: 15.81 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.3343, allocations: 21.7 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3344, allocations: 314.8 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.3345, allocations: 8 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.3345, allocations: 35.42 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.295e-05/0.3346, allocations: 47.75 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3346, allocations: 8 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.49e-05/0.3347, allocations: 69.59 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3347, allocations: 11.94 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3347, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3347, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.3348, allocations: 11.94 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3348, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.3349, allocations: 4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3349, allocations: 4 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/0.335, allocations: 123.4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.335, allocations: 11.78 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.335, allocations: 11.5 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.335, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.335, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.335, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3351, allocations: 149.7 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3351, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.3352, allocations: 4 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3352, allocations: 7.938 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3352, allocations: 3.984 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3352, allocations: 3.938 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3352, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.3353, allocations: 85.12 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.3354, allocations: 81.09 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.3354, allocations: 3.938 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.3354, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.3354, allocations: 11.94 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.3355, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.3355, allocations: 83.27 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3355, allocations: 0 / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002392/0.3357, allocations: 32 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003054/0.3361, allocations: 168.6 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.689e-05/0.3362, allocations: 35.86 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3362, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.3362, allocations: 15.92 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.3363, allocations: 4 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.3366, allocations: 114.5 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3368, allocations: 0.6811 MB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.909e-05/0.3369, allocations: 3.938 kB / 1.057 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.3369, allocations: 11.44 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3369, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of Templates: time 0.003042/0.3399, allocations: 1.031 MB / 1.058 GB, free: 1.957 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y