Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_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_latest_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.009473/0.009473, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002157/0.002157, allocations: 196.5 kB / 16.68 MB, free: 5.926 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7348 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 1.054 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412/1.413, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003829/1.417, allocations: 1.423 MB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001292/1.419, allocations: 0.4944 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/1.419, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/1.419, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/1.419, allocations: 15.86 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/1.42, allocations: 231.4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/1.42, allocations: 147.7 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/1.42, allocations: 15.92 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/1.421, allocations: 55.91 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/1.421, allocations: 35.84 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/1.421, allocations: 12 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/1.421, allocations: 175.8 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/1.421, allocations: 31.91 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/1.421, allocations: 47.8 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/1.422, allocations: 239.3 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.422, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.07e-06/1.422, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.578e-05/1.422, allocations: 0 / 1.211 GB, free: 10.77 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008756/1.423, allocations: 456.7 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/1.423, allocations: 15.97 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/1.423, allocations: 12.84 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/1.423, allocations: 209.5 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/1.423, allocations: 8.375 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/1.423, allocations: 12.38 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/1.423, allocations: 79.95 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.423, allocations: 192 / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.423, allocations: 7.875 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.424, allocations: 0 / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/1.424, allocations: 43.97 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/1.424, allocations: 226.5 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/1.424, allocations: 81.19 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/1.424, allocations: 53.81 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/1.424, allocations: 0 / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/1.425, allocations: 115.1 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/1.425, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0004598/1.425, allocations: 201.2 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/1.425, allocations: 85.05 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/1.425, allocations: 151.9 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/1.425, allocations: 37.7 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/1.426, allocations: 100.5 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/1.426, allocations: 35.55 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.426, allocations: 53.69 kB / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.426, allocations: 318.8 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/1.426, allocations: 43.98 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/1.426, allocations: 195.4 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.426, allocations: 97.62 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.426, allocations: 0 / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002524/1.427, allocations: 161.4 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.427, allocations: 8 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/1.427, allocations: 7.984 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.427, allocations: 3.938 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.427, allocations: 8 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.427, allocations: 0 / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/1.427, allocations: 83.75 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/1.427, allocations: 4 kB / 1.213 GB, free: 7.59 MB / 0.9356 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.0001558/1.427, allocations: 137.9 kB / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/1.427, allocations: 15.78 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/1.427, allocations: 16.7 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/1.427, allocations: 4 kB / 1.213 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.427, allocations: 7.938 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.427, allocations: 0 / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/1.428, allocations: 193.4 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.428, allocations: 3.938 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/1.428, allocations: 11.98 kB / 1.214 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.428, allocations: 0 / 1.214 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/1.428, allocations: 4 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.428, allocations: 0 / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.428, allocations: 0 / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/1.428, allocations: 189.8 kB / 1.214 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/1.428, allocations: 84.95 kB / 1.214 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/1.428, allocations: 4 kB / 1.214 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.839e-05/1.428, allocations: 3.984 kB / 1.214 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/1.428, allocations: 4 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.428, allocations: 8 kB / 1.214 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.467e-05/1.428, allocations: 111.2 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.428, allocations: 0 / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003587/1.429, allocations: 79.92 kB / 1.214 GB, free: 6.621 MB / 0.9356 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.0003273/1.429, allocations: 163.2 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003491/1.429, allocations: 163.3 kB / 1.214 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.429, allocations: 3.938 kB / 1.214 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/1.43, allocations: 43.92 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.43, allocations: 18.28 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/1.43, allocations: 231.3 kB / 1.215 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.431, allocations: 0.7041 MB / 1.215 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.333e-05/1.431, allocations: 4.672 kB / 1.215 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/1.431, allocations: 15.42 kB / 1.215 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/1.431, allocations: 0 / 1.215 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of Templates: time 0.006222/1.437, allocations: 2.566 MB / 1.218 GB, free: 2.68 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches