Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 175.3 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009546, allocations: 101 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004505, allocations: 6.812 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3441, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.5466, allocations: 150.2 MB / 1.37 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5469, allocations: 71.95 kB / 1.37 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01095/0.5578, allocations: 3.485 MB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5579, allocations: 0 / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.5579, allocations: 4 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000802/0.5587, allocations: 419.3 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/0.5588, allocations: 8.031 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.5589, allocations: 11.89 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.5591, allocations: 179 kB / 1.374 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.5592, allocations: 37.64 kB / 1.374 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.5593, allocations: 12 kB / 1.374 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.5595, allocations: 95.72 kB / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5595, allocations: 0 / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.5595, allocations: 4 kB / 1.374 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5596, allocations: 0 / 1.374 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.5597, allocations: 51.91 kB / 1.374 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.5607, allocations: 0.5166 MB / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/0.5613, allocations: 135.8 kB / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.5613, allocations: 4.078 kB / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.5616, allocations: 118 kB / 1.375 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.5616, allocations: 0 / 1.375 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0003774/0.562, allocations: 149.6 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.5621, allocations: 102.8 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5622, allocations: 125 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.5622, allocations: 29.7 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.5623, allocations: 96.34 kB / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.5623, allocations: 27.56 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.5623, allocations: 4 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5625, allocations: 322.8 kB / 1.375 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.5626, allocations: 31.98 kB / 1.375 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.5627, allocations: 35.98 kB / 1.375 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.69e-05/0.5628, allocations: 42.8 kB / 1.375 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5628, allocations: 4 kB / 1.375 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002541/0.5631, allocations: 129.4 kB / 1.376 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5631, allocations: 4 kB / 1.376 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5631, allocations: 4 kB / 1.376 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5631, allocations: 3.984 kB / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5633, allocations: 19.94 kB / 1.376 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5633, allocations: 4 kB / 1.376 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.5634, allocations: 16.91 kB / 1.376 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.5634, allocations: 11.98 kB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.5635, allocations: 131.8 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.5636, allocations: 4 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.5638, allocations: 117.9 kB / 1.376 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5638, allocations: 0 / 1.376 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.5639, allocations: 7.953 kB / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5639, allocations: 7.938 kB / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.5641, allocations: 213.5 kB / 1.376 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5641, allocations: 0 / 1.376 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/0.5643, allocations: 23.98 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5643, allocations: 0 / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.5643, allocations: 4 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5643, allocations: 0 / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5643, allocations: 0 / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.5646, allocations: 206 kB / 1.376 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.5647, allocations: 96.94 kB / 1.376 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.5647, allocations: 11.95 kB / 1.376 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.5648, allocations: 7.984 kB / 1.376 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.5648, allocations: 15.98 kB / 1.376 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.5649, allocations: 8 kB / 1.376 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.5649, allocations: 99.27 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5649, allocations: 0 / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003097/0.5653, allocations: 59.92 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000265/0.5655, allocations: 166.9 kB / 1.377 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.5658, allocations: 91.91 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5658, allocations: 0 / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.5659, allocations: 55.91 kB / 1.377 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.5661, allocations: 20.56 kB / 1.377 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.5665, allocations: 269.9 kB / 1.377 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.5668, allocations: 0.7004 MB / 1.378 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.733e-05/0.5669, allocations: 12.55 kB / 1.378 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.567, allocations: 19.44 kB / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.567, allocations: 0 / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of Templates: time 0.004142/0.5711, allocations: 1.5 MB / 1.379 GB, free: 1.375 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches