Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001517/0.001517, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 7.438 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3649, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.000947/0.3659, allocations: 459.6 kB / 1.075 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.3679, allocations: 1.529 MB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.3679, allocations: 0 / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.368, allocations: 0 / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.3681, allocations: 19.84 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.3685, allocations: 131.7 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3687, allocations: 107.7 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3688, allocations: 15.98 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.3689, allocations: 47.83 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.369, allocations: 39.84 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3691, allocations: 4 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3692, allocations: 75.92 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3693, allocations: 23.86 kB / 1.077 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.3693, allocations: 69.44 kB / 1.077 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.3696, allocations: 187.7 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3697, allocations: 0 / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3697, allocations: 0 / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3697, allocations: 0 / 1.077 GB, free: 4.871 MB / 0.8262 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.0006552/0.3703, allocations: 407.2 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3704, allocations: 12.03 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.3704, allocations: 12.83 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3706, allocations: 172.2 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.3707, allocations: 34.27 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3707, allocations: 4.375 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3709, allocations: 116.3 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3709, allocations: 0 / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3709, allocations: 0 / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3709, allocations: 4 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.371, allocations: 47.91 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.3717, allocations: 0.5243 MB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.3721, allocations: 139.7 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.3722, allocations: 42.59 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3723, allocations: 7.938 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.3725, allocations: 109.9 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.3725, allocations: 0 / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003251/0.3728, allocations: 149.4 kB / 1.078 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.3729, allocations: 106.8 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.373, allocations: 129.8 kB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.373, allocations: 29.7 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.3731, allocations: 88.33 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3731, allocations: 35.83 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3732, allocations: 21.72 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3733, allocations: 326.8 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.3734, allocations: 35.98 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.3735, allocations: 31.98 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3737, allocations: 78.95 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3737, allocations: 0 / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002512/0.3739, allocations: 129.4 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3739, allocations: 12 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.374, allocations: 0 / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.374, allocations: 256 / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3741, allocations: 24.17 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3741, allocations: 11.92 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3742, allocations: 19.83 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3742, allocations: 7.938 kB / 1.08 GB, free: 1.75 MB / 0.8262 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 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.3744, allocations: 129.7 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.3744, allocations: 15.89 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.3746, allocations: 110 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3747, allocations: 4 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3747, allocations: 0 / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3747, allocations: 3.984 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3749, allocations: 221.4 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3749, allocations: 8 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.375, allocations: 12 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.375, allocations: 4 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.375, allocations: 0 / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.375, allocations: 7.984 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.375, allocations: 0 / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.3753, allocations: 174.5 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.3754, allocations: 108.9 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3754, allocations: 4 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.3755, allocations: 8 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3755, allocations: 19.91 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3756, allocations: 4 kB / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.3756, allocations: 106.5 kB / 1.08 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3756, allocations: 0 / 1.08 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004235/0.3761, allocations: 51.94 kB / 1.08 GB, free: 0.6719 MB / 0.8262 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.not1.y) * 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 (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.0002358/0.3763, allocations: 159.1 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.3765, allocations: 93.44 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3766, allocations: 0 / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.3767, allocations: 55.92 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.3769, allocations: 11.98 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.3774, allocations: 275.4 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3777, allocations: 0.7043 MB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.34e-05/0.3777, allocations: 12.69 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3778, allocations: 15.42 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3778, allocations: 4 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.004527/0.3823, allocations: 1.635 MB / 1.083 GB, free: 13.66 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)