Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001433/0.001434, 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.001836/0.001836, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.759/1.759, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.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.001312/0.001311, allocations: 64.02 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2644, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002309/0.2668, allocations: 0.8069 MB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2689, allocations: 1.57 MB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.269, allocations: 0 / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.2691, allocations: 3.938 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.2693, allocations: 19.84 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.2697, allocations: 131.7 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.2698, allocations: 107.7 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.27, allocations: 23.98 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2701, allocations: 43.83 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.2703, allocations: 47.77 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.2703, allocations: 4 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.2705, allocations: 75.94 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.2705, allocations: 11.98 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.2706, allocations: 43.78 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.2709, allocations: 191.8 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2709, allocations: 7.938 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2709, allocations: 0 / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2709, allocations: 0 / 0.7857 GB, free: 10.9 MB / 0.6075 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.0008293/0.2717, allocations: 431.1 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2718, allocations: 12.03 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.2719, allocations: 8.844 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.272, allocations: 176.2 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.597e-05/0.2721, allocations: 34.27 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2721, allocations: 8.359 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.2723, allocations: 100.4 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2723, allocations: 3.938 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.2724, allocations: 4 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2724, allocations: 0 / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.2725, allocations: 39.97 kB / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.2732, allocations: 0.5282 MB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.2737, allocations: 139.7 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.2738, allocations: 38.58 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2738, allocations: 12.08 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.2741, allocations: 109.9 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.2741, allocations: 0 / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0003456/0.2744, allocations: 141.5 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.2745, allocations: 110.9 kB / 0.7875 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2746, allocations: 133.7 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.2746, allocations: 33.64 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.2747, allocations: 88.42 kB / 0.7877 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.2747, allocations: 35.61 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.2748, allocations: 37.7 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2749, allocations: 322.8 kB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.275, allocations: 35.98 kB / 0.7881 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.2751, allocations: 35.98 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.2753, allocations: 84.02 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2753, allocations: 0 / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002366/0.2756, allocations: 125.8 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2756, allocations: 4 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2756, allocations: 0 / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2756, allocations: 4 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2757, allocations: 23.92 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.2758, allocations: 4 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.2759, allocations: 23.83 kB / 0.7884 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2759, allocations: 7.938 kB / 0.7884 GB, free: 7.758 MB / 0.6075 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.212e-05/0.276, allocations: 117.8 kB / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.276, allocations: 7.906 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2762, allocations: 117.9 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2763, allocations: 8 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2763, allocations: 0 / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2763, allocations: 0 / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.2765, allocations: 221.4 kB / 0.7889 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2765, allocations: 4 kB / 0.7889 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.2766, allocations: 23.92 kB / 0.7889 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2766, allocations: 4 kB / 0.7889 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2766, allocations: 0 / 0.7889 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2766, allocations: 4 kB / 0.7889 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2766, allocations: 0 / 0.7889 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.2769, allocations: 178.6 kB / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.2769, allocations: 108.9 kB / 0.7892 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.277, allocations: 4 kB / 0.7892 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.2771, allocations: 4 kB / 0.7892 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.2771, allocations: 19.92 kB / 0.7892 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2771, allocations: 8.219 kB / 0.7892 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.2772, allocations: 108 kB / 0.7893 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2772, allocations: 0 / 0.7893 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002912/0.2775, allocations: 51.94 kB / 0.7894 GB, free: 6.68 MB / 0.6075 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.0002387/0.2778, allocations: 157.1 kB / 0.7895 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.278, allocations: 91.95 kB / 0.7896 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.278, allocations: 0 / 0.7896 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.2781, allocations: 52.11 kB / 0.7897 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.2783, allocations: 16 kB / 0.7897 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.2788, allocations: 277.7 kB / 0.79 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2791, allocations: 0.6965 MB / 0.7906 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.37e-05/0.2792, allocations: 12.55 kB / 0.7907 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.2792, allocations: 23.42 kB / 0.7907 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2792, allocations: 3.938 kB / 0.7907 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of Templates: time 0.004365/0.2836, allocations: 1.65 MB / 0.7923 GB, free: 3.668 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)