Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005646/0.005646, allocations: 103 kB / 15.73 MB, free: 6.059 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.001166/0.001166, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7347 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 1.054 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9668/0.9682, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002983/0.9712, allocations: 1.221 MB / 1.209 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.9724, allocations: 450.5 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.9724, allocations: 3.938 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.9725, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.9725, allocations: 3.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.9732, allocations: 111.6 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.9733, allocations: 19.92 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.9734, allocations: 7.984 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.9734, allocations: 11.94 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.9735, allocations: 15.92 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.9735, allocations: 3.984 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.9738, allocations: 107.9 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.9738, allocations: 0 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.9739, allocations: 15.92 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.9741, allocations: 99.73 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9742, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9742, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.9742, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005837/0.9748, allocations: 397 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9748, allocations: 8.031 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.9749, allocations: 4.938 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.975, allocations: 160.4 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.9751, allocations: 4.375 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.9751, allocations: 4.359 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.9753, allocations: 46.23 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.9753, allocations: 192 / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.9753, allocations: 11.81 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9753, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.221e-05/0.9754, allocations: 11.94 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.9756, allocations: 169.6 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.99e-05/0.9757, allocations: 18.58 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.9758, allocations: 16.86 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.9758, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.976, allocations: 63.42 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.592e-06/0.976, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.000285/0.9763, allocations: 77.61 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.9763, allocations: 55.41 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.9764, allocations: 97.86 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.9765, allocations: 29.7 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.9765, allocations: 88.12 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.9766, allocations: 9.641 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.9766, allocations: 29.72 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9768, allocations: 314.8 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.9768, allocations: 12 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.828e-05/0.9769, allocations: 44.7 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.852e-05/0.977, allocations: 56.23 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.977, allocations: 0 / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001694/0.9772, allocations: 73.61 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9772, allocations: 11.94 kB / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9772, allocations: 4 kB / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.9773, allocations: 0 / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.9774, allocations: 12.06 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.9774, allocations: 8 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.9774, allocations: 3.906 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.9775, allocations: 4 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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 0.0001067/0.9776, allocations: 121.8 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.9776, allocations: 3.938 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.9776, allocations: 3.562 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.9776, allocations: 4 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9776, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.9777, allocations: 4 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.9778, allocations: 157.6 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9778, allocations: 0 / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.9779, allocations: 7.938 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.9779, allocations: 3.938 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.9779, allocations: 7.984 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.9779, allocations: 4 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9779, allocations: 0 / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.9781, allocations: 89.02 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.9782, allocations: 89.08 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.9782, allocations: 3.938 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.9783, allocations: 8 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.9783, allocations: 0 / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.9783, allocations: 0 / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.9784, allocations: 87.33 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9784, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003933/0.9788, allocations: 36 kB / 1.212 GB, free: 8.754 MB / 0.9356 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 (5): * Single equations (assignments): 3 * 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.0004267/0.9792, allocations: 164.1 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.9794, allocations: 31.92 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9794, allocations: 0 / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.9795, allocations: 15.98 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.9797, allocations: 4 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.98, allocations: 125.1 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.9803, allocations: 0.6837 MB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.9803, allocations: 3.984 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.9803, allocations: 11.44 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9803, allocations: 0 / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of Templates: time 0.00503/0.9854, allocations: 1.105 MB / 1.214 GB, free: 6.566 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y