Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 288.4 MB / 303.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 191.2 kB / 372 MB, free: 10.22 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 0.6307 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008977/0.0008975, allocations: 94.3 kB / 0.7441 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004595, allocations: 11.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009558/0.3198, allocations: 445.9 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3215, allocations: 1.488 MB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.3216, allocations: 0 / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.3216, allocations: 0 / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.3218, allocations: 23.84 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.3221, allocations: 115.7 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3222, allocations: 91.7 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3223, allocations: 15.98 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3224, allocations: 35.86 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.3226, allocations: 47.81 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3226, allocations: 8 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.3227, allocations: 63.95 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.3228, allocations: 19.91 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.3228, allocations: 37.7 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.323, allocations: 139.9 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.323, allocations: 4 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.323, allocations: 0 / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.323, allocations: 0 / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000672/0.3237, allocations: 407.1 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3237, allocations: 8.031 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.3238, allocations: 7.906 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3239, allocations: 178.8 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.324, allocations: 41.64 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.324, allocations: 7.984 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3242, allocations: 104.2 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3242, allocations: 3.938 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3243, allocations: 0 / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.3243, allocations: 4 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.507e-05/0.3244, allocations: 43.97 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.325, allocations: 0.5204 MB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.3254, allocations: 143.7 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.3255, allocations: 38.66 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.3255, allocations: 12.06 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.3258, allocations: 113.8 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3258, allocations: 0 / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003044/0.3261, allocations: 133.5 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3261, allocations: 110.8 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.3263, allocations: 129.7 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3263, allocations: 29.7 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.3263, allocations: 96.44 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.3264, allocations: 31.56 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.3264, allocations: 4 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.3265, allocations: 322.8 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.3265, allocations: 27.98 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.3266, allocations: 57.62 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.568e-05/0.3267, allocations: 32.44 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3267, allocations: 0 / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002097/0.3269, allocations: 129.5 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.327, allocations: 4 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.327, allocations: 256 / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.327, allocations: 7.953 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3271, allocations: 19.98 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3271, allocations: 7.984 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.3272, allocations: 19.83 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3273, allocations: 4 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.3274, allocations: 130.5 kB / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.3274, allocations: 7.906 kB / 0.9849 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.3276, allocations: 122 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.3276, allocations: 4.047 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3277, allocations: 7.938 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3277, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.3278, allocations: 217.5 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3278, allocations: 3.984 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.3279, allocations: 20 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3279, allocations: 7.938 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.328, allocations: 0 / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.328, allocations: 3.984 kB / 0.9852 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.328, allocations: 4 kB / 0.9852 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.3282, allocations: 170.6 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.3283, allocations: 108.8 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3283, allocations: 4 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.3284, allocations: 8 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.3284, allocations: 19.92 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3285, allocations: 8 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.3285, allocations: 96.39 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3285, allocations: 4 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002653/0.3288, allocations: 51.94 kB / 0.9857 GB, free: 20.98 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002165/0.329, allocations: 159.1 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.3292, allocations: 94.14 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3293, allocations: 0 / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.3293, allocations: 52.11 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.3296, allocations: 8 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.33, allocations: 267.2 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.3302, allocations: 0.7043 MB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.489e-05/0.3302, allocations: 12.83 kB / 0.9869 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.3303, allocations: 19.42 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3303, allocations: 0 / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.003928/0.3342, allocations: 1.56 MB / 0.9885 GB, free: 18.06 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)