Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00595/0.00595, allocations: 106 kB / 15.74 MB, free: 6.016 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.001227/0.001227, allocations: 191.9 kB / 16.68 MB, free: 5.934 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.113 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.111/3.111, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 68.11 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4578, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004504/0.4623, allocations: 1.42 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.4639, allocations: 0.4905 MB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.4639, allocations: 0 / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.4641, allocations: 3.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.4642, allocations: 15.86 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.4654, allocations: 239.4 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.4658, allocations: 155.7 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.4659, allocations: 11.94 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.4661, allocations: 51.91 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.4662, allocations: 39.83 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.4662, allocations: 12 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.4667, allocations: 167.8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.4668, allocations: 35.91 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.4669, allocations: 51.78 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.4675, allocations: 231.3 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4675, allocations: 7.938 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4675, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.4675, allocations: 3.984 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008545/0.4684, allocations: 446.7 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.4685, allocations: 12.03 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.4685, allocations: 12.89 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.4689, allocations: 212.1 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.4689, allocations: 4.375 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.4689, allocations: 12.38 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.4692, allocations: 87.94 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4692, allocations: 4.125 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4692, allocations: 3.938 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.4692, allocations: 4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.558e-05/0.4693, allocations: 31.98 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.4697, allocations: 230.5 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.4699, allocations: 85.19 kB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.4699, allocations: 53.75 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.47, allocations: 3.984 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.4703, allocations: 105 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.4703, allocations: 4 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0004508/0.4707, allocations: 185.5 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.4709, allocations: 89.05 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.471, allocations: 151.5 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.4711, allocations: 37.7 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.4712, allocations: 104.4 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.4712, allocations: 35.73 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.4713, allocations: 49.7 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4715, allocations: 330.8 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.736e-05/0.4716, allocations: 39.98 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.4718, allocations: 196.1 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.472, allocations: 101.6 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.472, allocations: 0 / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003252/0.4723, allocations: 169.3 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4724, allocations: 9.875 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-05/0.4724, allocations: 4 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.4724, allocations: 4 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4726, allocations: 4 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.4726, allocations: 8 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.4729, allocations: 79.66 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.4729, allocations: 4 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001911/0.4731, allocations: 138.3 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.4731, allocations: 15.98 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.4732, allocations: 16.69 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4732, allocations: 4 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4732, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4732, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.4735, allocations: 197.5 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4736, allocations: 7.938 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.4736, allocations: 8 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4736, allocations: 4 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.4736, allocations: 4 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4736, allocations: 0 / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4736, allocations: 0 / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.474, allocations: 185.8 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.4741, allocations: 96.94 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.4741, allocations: 0 / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.4742, allocations: 12 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.4742, allocations: 3.984 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4742, allocations: 4 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001278/0.4744, allocations: 113.1 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4744, allocations: 3.938 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004624/0.4748, allocations: 71.88 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000464/0.4753, allocations: 164.8 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.4757, allocations: 163.2 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4757, allocations: 0 / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.647e-05/0.4758, allocations: 39.92 kB / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.476, allocations: 15.88 kB / 1.227 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.4768, allocations: 225.8 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.4773, allocations: 0.7041 MB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.57e-05/0.4774, allocations: 12.66 kB / 1.228 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.4774, allocations: 11.44 kB / 1.228 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.4774, allocations: 0 / 1.228 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of Templates: time 0.00798/0.4854, allocations: 2.536 MB / 1.231 GB, free: 2.859 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches