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.01008/0.01008, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.00179/0.00179, allocations: 193.3 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.703/1.703, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.728/1.728, allocations: 251.7 MB / 0.5094 GB, free: 2.992 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.001452/0.001452, allocations: 64.47 kB / 0.7257 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2716, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002063/0.2737, allocations: 0.7345 MB / 0.8287 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.2762, allocations: 1.572 MB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.2763, allocations: 0 / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.2764, allocations: 7.938 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.2767, allocations: 23.78 kB / 0.8303 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2773, allocations: 151.5 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.2775, allocations: 123.7 kB / 0.8306 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.2776, allocations: 19.94 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.2778, allocations: 55.83 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.278, allocations: 47.83 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.278, allocations: 12 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.2782, allocations: 99.91 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.2783, allocations: 23.92 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.2784, allocations: 47.78 kB / 0.8309 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.2787, allocations: 199.5 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2787, allocations: 4 kB / 0.8311 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2787, allocations: 0 / 0.8311 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.2788, allocations: 0 / 0.8311 GB, free: 13.08 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.000867/0.2796, allocations: 423.1 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.2797, allocations: 8.031 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.2798, allocations: 8.844 kB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2799, allocations: 192.2 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.28, allocations: 34.27 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.28, allocations: 8.375 kB / 0.8317 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.2803, allocations: 104.3 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2803, allocations: 0 / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.2803, allocations: 0 / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2803, allocations: 4 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.2804, allocations: 55.78 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.2811, allocations: 0.5127 MB / 0.8324 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.2816, allocations: 135.7 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.2817, allocations: 46.66 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.2817, allocations: 3.938 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.282, allocations: 117.9 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.282, allocations: 0 / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003686/0.2824, allocations: 149.4 kB / 0.8328 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.2824, allocations: 102.8 kB / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.2826, allocations: 137.9 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.2826, allocations: 25.7 kB / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2827, allocations: 100.4 kB / 0.8331 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.2828, allocations: 27.61 kB / 0.8332 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.2829, allocations: 29.7 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002431/0.2831, allocations: 326.8 kB / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.2833, allocations: 35.98 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.2834, allocations: 35.92 kB / 0.8336 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.2836, allocations: 83.66 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2836, allocations: 0 / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002696/0.2839, allocations: 129.5 kB / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.2839, allocations: 8 kB / 0.8338 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2839, allocations: 3.938 kB / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.2839, allocations: 0 / 0.8338 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2841, allocations: 19.98 kB / 0.8338 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2841, allocations: 0 / 0.8338 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.2842, allocations: 11.84 kB / 0.8338 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2842, allocations: 15.92 kB / 0.8338 GB, free: 9.941 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.000134/0.2844, allocations: 129.8 kB / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2844, allocations: 7.906 kB / 0.834 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.2847, allocations: 110 kB / 0.8341 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2847, allocations: 0 / 0.8341 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.2847, allocations: 4 kB / 0.8341 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2847, allocations: 4 kB / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.2849, allocations: 225.4 kB / 0.8343 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.285, allocations: 0 / 0.8343 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.2851, allocations: 19.98 kB / 0.8343 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2851, allocations: 0 / 0.8343 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2851, allocations: 8 kB / 0.8343 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2851, allocations: 0 / 0.8343 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2851, allocations: 0 / 0.8343 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.2854, allocations: 182.5 kB / 0.8345 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.2855, allocations: 97 kB / 0.8346 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.2856, allocations: 8.188 kB / 0.8346 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.2856, allocations: 16.22 kB / 0.8346 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.2857, allocations: 11.92 kB / 0.8346 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2857, allocations: 12 kB / 0.8346 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.284e-05/0.2858, allocations: 91.27 kB / 0.8347 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2858, allocations: 4 kB / 0.8347 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003184/0.2862, allocations: 59.92 kB / 0.8348 GB, free: 8.863 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.0003398/0.2865, allocations: 166.7 kB / 0.8349 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.2868, allocations: 98.94 kB / 0.835 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2868, allocations: 4 kB / 0.835 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.287, allocations: 51.91 kB / 0.8351 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2872, allocations: 12 kB / 0.8351 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.2878, allocations: 237.2 kB / 0.8353 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.2882, allocations: 0.7039 MB / 0.836 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.516e-05/0.2883, allocations: 16.55 kB / 0.836 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.2883, allocations: 15.44 kB / 0.836 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2883, allocations: 3.938 kB / 0.836 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.005127/0.2935, allocations: 1.748 MB / 0.8377 GB, free: 5.77 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)