Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.002042/0.002042, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002339/0.002339, allocations: 197.6 kB / 16.14 MB, free: 6.688 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.527/1.527, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.14 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3571, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002267/0.3594, allocations: 0.7761 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.3619, allocations: 1.544 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.921e-05/0.362, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.362, allocations: 7.938 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.3622, allocations: 11.91 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.3627, allocations: 131.7 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3629, allocations: 115.6 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.363, allocations: 16 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.3631, allocations: 47.83 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3633, allocations: 43.83 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.3633, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.3635, allocations: 75.94 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.3636, allocations: 15.92 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.3637, allocations: 47.78 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.364, allocations: 191.8 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.364, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.364, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.364, allocations: 0 / 1.07 GB, free: 7.879 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.0007777/0.3648, allocations: 419.2 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3648, allocations: 12.03 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.3649, allocations: 16.83 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.365, allocations: 180.1 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.3651, allocations: 38.25 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3652, allocations: 4.375 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3654, allocations: 99.36 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3654, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3654, allocations: 8 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3654, allocations: 0 / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3655, allocations: 51.91 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.3662, allocations: 0.5243 MB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.3667, allocations: 139.7 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.3668, allocations: 42.58 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3668, allocations: 8.078 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.3671, allocations: 109.9 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3671, allocations: 3.938 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.00034/0.3674, allocations: 137.5 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.3675, allocations: 114.9 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.3676, allocations: 121.8 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3676, allocations: 33.7 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.3677, allocations: 88.33 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3677, allocations: 35.61 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.3678, allocations: 33.7 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3679, allocations: 326.8 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.806e-05/0.368, allocations: 31.98 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.3681, allocations: 47.92 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3683, allocations: 79.03 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3683, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002538/0.3686, allocations: 129.5 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3686, allocations: 4 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3686, allocations: 4 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3686, allocations: 0 / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3688, allocations: 19.92 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3688, allocations: 4 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.412e-05/0.3689, allocations: 19.92 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.3689, allocations: 7.938 kB / 1.073 GB, free: 4.738 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 9.514e-05/0.369, allocations: 120.8 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.369, allocations: 7.906 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.3693, allocations: 126 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3693, allocations: 4 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3693, allocations: 0 / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3693, allocations: 0 / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.3695, allocations: 217.5 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3695, allocations: 0 / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3696, allocations: 27.92 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3697, allocations: 320 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3697, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.3697, allocations: 11.98 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3697, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.3699, allocations: 182.6 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.37, allocations: 104.8 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3701, allocations: 11.94 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.3702, allocations: 4 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.3702, allocations: 15.92 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3702, allocations: 11.98 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.3703, allocations: 103.3 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003038/0.3706, allocations: 55.88 kB / 1.074 GB, free: 3.648 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.0002395/0.3709, allocations: 156.5 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.3711, allocations: 95.89 kB / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3711, allocations: 0 / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3712, allocations: 55.92 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.3715, allocations: 12 kB / 1.074 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.372, allocations: 266.9 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3722, allocations: 0.6965 MB / 1.075 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.413e-05/0.3723, allocations: 16.67 kB / 1.075 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.3724, allocations: 23.42 kB / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3724, allocations: 0 / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of Templates: time 0.004464/0.3769, allocations: 1.647 MB / 1.077 GB, free: 0.6367 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)