Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.009404/0.009405, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.001971/0.001971, allocations: 192.2 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.731/1.731, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 75.89 kB / 0.7258 GB, free: 9.062 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.265, allocations: 104.7 MB / 0.828 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001876/0.2669, allocations: 0.7454 MB / 0.8287 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.2688, allocations: 1.568 MB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.2689, allocations: 0 / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.2689, allocations: 7.875 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.2692, allocations: 23.78 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.2696, allocations: 163.5 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.2697, allocations: 111.7 kB / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2699, allocations: 23.94 kB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.27, allocations: 51.83 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2701, allocations: 43.83 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.2701, allocations: 12 kB / 0.8307 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.2704, allocations: 107.9 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.2704, allocations: 31.91 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.2705, allocations: 43.8 kB / 0.8309 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.2708, allocations: 195.3 kB / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2708, allocations: 0 / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2708, allocations: 0 / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2708, allocations: 0 / 0.8311 GB, free: 13.12 MB / 0.6544 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.0007427/0.2716, allocations: 433.5 kB / 0.8315 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2716, allocations: 8.031 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.2717, allocations: 8.891 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2718, allocations: 184.2 kB / 0.8317 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/0.2719, allocations: 34.27 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.2719, allocations: 4.375 kB / 0.8317 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.2721, allocations: 108.3 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2721, allocations: 0 / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2721, allocations: 4 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2721, allocations: 4 kB / 0.8318 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.2723, allocations: 43.91 kB / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.2729, allocations: 0.5127 MB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.2734, allocations: 135.7 kB / 0.8325 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.2735, allocations: 54.64 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2735, allocations: 0 / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.2737, allocations: 113.9 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.2738, allocations: 0 / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003397/0.2741, allocations: 145.7 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.2742, allocations: 118.9 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2743, allocations: 133.7 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2743, allocations: 29.7 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.2744, allocations: 88.42 kB / 0.8331 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.2744, allocations: 27.8 kB / 0.8332 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.2745, allocations: 41.64 kB / 0.8332 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2746, allocations: 318.8 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2747, allocations: 43.98 kB / 0.8335 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.2748, allocations: 35.92 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.275, allocations: 76.84 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.275, allocations: 0 / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002496/0.2752, allocations: 136.4 kB / 0.8338 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2753, allocations: 4 kB / 0.8338 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2753, allocations: 3.938 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2753, allocations: 0 / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.2754, allocations: 19.98 kB / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2754, allocations: 0 / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.2755, allocations: 15.95 kB / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2755, allocations: 11.92 kB / 0.8338 GB, free: 9.977 MB / 0.6544 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.0001029/0.2757, allocations: 125.8 kB / 0.834 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.2757, allocations: 7.953 kB / 0.834 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.2759, allocations: 117.9 kB / 0.8341 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2759, allocations: 4 kB / 0.8341 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.276, allocations: 4 kB / 0.8341 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.276, allocations: 0 / 0.8341 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.2762, allocations: 217.5 kB / 0.8343 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2762, allocations: 0 / 0.8343 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.2763, allocations: 23.98 kB / 0.8343 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2763, allocations: 0 / 0.8343 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2763, allocations: 4 kB / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2763, allocations: 0 / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2763, allocations: 0 / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.2766, allocations: 186.8 kB / 0.8345 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.2767, allocations: 101 kB / 0.8346 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.2767, allocations: 8.125 kB / 0.8346 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.2768, allocations: 11.98 kB / 0.8346 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.2769, allocations: 19.92 kB / 0.8346 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2769, allocations: 8 kB / 0.8346 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.473e-05/0.2769, allocations: 102.9 kB / 0.8347 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.277, allocations: 0 / 0.8347 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002802/0.2772, allocations: 55.8 kB / 0.8348 GB, free: 8.895 MB / 0.6544 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.0002438/0.2775, allocations: 162.9 kB / 0.8349 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.2777, allocations: 91.91 kB / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2778, allocations: 0 / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.998e-05/0.2779, allocations: 55.91 kB / 0.8351 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2781, allocations: 18.31 kB / 0.8351 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.2786, allocations: 233 kB / 0.8353 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.2788, allocations: 0.7039 MB / 0.836 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.399e-05/0.2789, allocations: 20.48 kB / 0.836 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.2789, allocations: 19.44 kB / 0.836 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.2789, allocations: 0 / 0.836 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of Templates: time 0.004858/0.2838, allocations: 1.751 MB / 0.8378 GB, free: 5.801 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)