Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 289.9 MB / 297.4 MB, free: 6.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 173 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009854/0.0009851, allocations: 95.64 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.686e-05, allocations: 0 / 0.8597 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.6736, allocations: 116.3 MB / 0.9732 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.8484, allocations: 139.2 MB / 1.109 GB, free: 11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.8486, allocations: 75.94 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009914/0.8585, allocations: 3.38 MB / 1.113 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8586, allocations: 0 / 1.113 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.8586, allocations: 4 kB / 1.113 GB, free: 7.586 MB / 0.7136 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.0005078/0.8591, allocations: 404 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.8591, allocations: 12.03 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.8592, allocations: 13.53 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.8593, allocations: 181.2 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.8594, allocations: 0 / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.8594, allocations: 8 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001024/0.8595, allocations: 35.98 kB / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.8597, allocations: 97.08 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.8597, allocations: 0 / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.8597, allocations: 4 kB / 1.113 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8597, allocations: 7.984 kB / 1.113 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.8603, allocations: 0.4884 MB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.8607, allocations: 135.7 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.8608, allocations: 42.75 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.8608, allocations: 4 kB / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.861, allocations: 105.9 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.861, allocations: 0 / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000709/0.8617, allocations: 177.4 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.8618, allocations: 106.8 kB / 1.114 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.8619, allocations: 116.9 kB / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.8619, allocations: 25.7 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.862, allocations: 88.42 kB / 1.115 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.862, allocations: 31.55 kB / 1.115 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.862, allocations: 0 / 1.115 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8621, allocations: 322.8 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.8622, allocations: 31.98 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.8623, allocations: 32 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.863, allocations: 141.8 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.863, allocations: 4 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008814/0.8639, allocations: 224.2 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.864, allocations: 9.094 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.864, allocations: 0 / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.864, allocations: 0 / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.8641, allocations: 19.98 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8641, allocations: 0 / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.8642, allocations: 15.84 kB / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.8642, allocations: 4 kB / 1.115 GB, free: 4.504 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/0.8643, allocations: 120.9 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.8644, allocations: 4 kB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.8646, allocations: 110.1 kB / 1.116 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8646, allocations: 5.406 kB / 1.116 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8646, allocations: 0 / 1.116 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.8646, allocations: 3.984 kB / 1.116 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.8648, allocations: 198 kB / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8648, allocations: 0 / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.8649, allocations: 19.98 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8649, allocations: 0 / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.8649, allocations: 4 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.8649, allocations: 0 / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.865, allocations: 7.438 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.8657, allocations: 255.5 kB / 1.116 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.8657, allocations: 100.9 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.8658, allocations: 0 / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.8659, allocations: 11.98 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.8659, allocations: 11.98 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.8659, allocations: 5.875 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.866, allocations: 111.2 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.866, allocations: 0 / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002583/0.8663, allocations: 51.94 kB / 1.116 GB, free: 3.406 MB / 0.7136 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) * 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.000233/0.8665, allocations: 159.1 kB / 1.116 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005044/0.867, allocations: 0.757 MB / 1.117 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.867, allocations: 0 / 1.117 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.8671, allocations: 55.98 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.8673, allocations: 8 kB / 1.117 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.8677, allocations: 146.3 kB / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.868, allocations: 0.7079 MB / 1.118 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.8681, allocations: 16.69 kB / 1.118 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.8681, allocations: 19.42 kB / 1.118 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8681, allocations: 0 / 1.118 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of Templates: time 0.003916/0.872, allocations: 1.488 MB / 1.12 GB, free: 12 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)