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.007484/0.007484, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.00149/0.00149, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.638/1.638, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.675/1.675, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001522/0.001522, allocations: 71.88 kB / 0.7257 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2576, allocations: 104.7 MB / 0.828 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00225/0.2599, allocations: 0.7306 MB / 0.8287 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2622, allocations: 1.572 MB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.2623, allocations: 0 / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.2623, allocations: 3.938 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.2626, allocations: 23.78 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.263, allocations: 163.4 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.2632, allocations: 115.7 kB / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2633, allocations: 23.91 kB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.2634, allocations: 51.84 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2636, allocations: 51.81 kB / 0.8307 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.2636, allocations: 12 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.2638, allocations: 91.92 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.2639, allocations: 35.84 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.2639, allocations: 51.78 kB / 0.8309 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.2643, allocations: 195.5 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2643, allocations: 0 / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2644, allocations: 4 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.2644, allocations: 0 / 0.831 GB, free: 13.11 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.0008068/0.2652, allocations: 437.6 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.2652, allocations: 8.031 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.2653, allocations: 8.844 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.2655, allocations: 172.2 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.2656, allocations: 42.25 kB / 0.8317 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.2656, allocations: 12.31 kB / 0.8317 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.2658, allocations: 96.36 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2659, allocations: 0 / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.2659, allocations: 8 kB / 0.8318 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2659, allocations: 0 / 0.8318 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.266, allocations: 51.84 kB / 0.8318 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.2667, allocations: 0.5088 MB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.2672, allocations: 143.8 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.2673, allocations: 54.59 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2674, allocations: 0 / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.2676, allocations: 109.9 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.2676, allocations: 0 / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003547/0.268, allocations: 149.6 kB / 0.8328 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.2681, allocations: 106.9 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2682, allocations: 125.8 kB / 0.833 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.2682, allocations: 33.7 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.2683, allocations: 92.34 kB / 0.8331 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.2684, allocations: 23.62 kB / 0.8331 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.2684, allocations: 33.7 kB / 0.8332 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2686, allocations: 326.8 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/0.2687, allocations: 35.98 kB / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2688, allocations: 43.16 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.269, allocations: 76.78 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2691, allocations: 0 / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002396/0.2693, allocations: 129.6 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.2693, allocations: 10.81 kB / 0.8338 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2694, allocations: 7.922 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.2694, allocations: 0 / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2695, allocations: 19.98 kB / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2695, allocations: 4 kB / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.2696, allocations: 23.77 kB / 0.8338 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.2697, allocations: 7.938 kB / 0.8338 GB, free: 9.969 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.0001286/0.2698, allocations: 121.8 kB / 0.8339 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.2698, allocations: 11.89 kB / 0.834 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.2701, allocations: 114 kB / 0.8341 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2701, allocations: 0 / 0.8341 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2701, allocations: 0 / 0.8341 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.2702, allocations: 7.984 kB / 0.8341 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.2704, allocations: 225.4 kB / 0.8343 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2704, allocations: 0 / 0.8343 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.2705, allocations: 16 kB / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2705, allocations: 0 / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.2706, allocations: 8 kB / 0.8343 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.2706, allocations: 7.922 kB / 0.8343 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2706, allocations: 0 / 0.8343 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.2709, allocations: 174.9 kB / 0.8345 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.271, allocations: 101 kB / 0.8346 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.271, allocations: 8 kB / 0.8346 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.2711, allocations: 8 kB / 0.8346 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.2711, allocations: 15.92 kB / 0.8346 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2712, allocations: 11.98 kB / 0.8346 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.2712, allocations: 99.2 kB / 0.8347 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2712, allocations: 0 / 0.8347 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002928/0.2715, allocations: 59.94 kB / 0.8348 GB, free: 8.891 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.000304/0.2718, allocations: 154.1 kB / 0.8349 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.2721, allocations: 99.83 kB / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2721, allocations: 0 / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.2723, allocations: 55.95 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.0002373/0.2725, allocations: 19.98 kB / 0.8351 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.2731, allocations: 237.1 kB / 0.8353 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.2735, allocations: 0.7 MB / 0.836 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.246e-05/0.2736, allocations: 18.8 kB / 0.836 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.2736, allocations: 19.42 kB / 0.836 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.2736, allocations: 0 / 0.836 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of Templates: time 0.005334/0.279, allocations: 1.752 MB / 0.8378 GB, free: 5.793 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)