Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 288.4 MB / 303.4 MB, free: 8.133 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.001513/0.001513, allocations: 184.5 kB / 372 MB, free: 10.21 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.711/1.711, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008197/0.0008197, allocations: 85.27 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005022, allocations: 14.31 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2499, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001777/0.2517, allocations: 1.211 MB / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2531, allocations: 0.7305 MB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.2533, allocations: 8 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.2533, allocations: 3.938 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.2534, allocations: 15.84 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.254, allocations: 99.77 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2541, allocations: 75.7 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.2543, allocations: 8 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.2544, allocations: 39.86 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.2545, allocations: 43.81 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.2545, allocations: 4 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.2548, allocations: 75.91 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.2548, allocations: 15.92 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.2549, allocations: 33.7 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.2551, allocations: 112 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2551, allocations: 0 / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2551, allocations: 0 / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2551, allocations: 0 / 0.982 GB, free: 25.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007619/0.2559, allocations: 454.5 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2559, allocations: 12.03 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.256, allocations: 7.906 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2562, allocations: 182.9 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2562, allocations: 0 / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2562, allocations: 4 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.2565, allocations: 77.66 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2565, allocations: 3.938 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2565, allocations: 0 / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2565, allocations: 3.984 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.2567, allocations: 47.97 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.2573, allocations: 328.7 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.2574, allocations: 66.58 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.2575, allocations: 36.84 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2576, allocations: 4 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.2578, allocations: 91.36 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/0.2578, allocations: 0 / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003976/0.2582, allocations: 165.4 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.2583, allocations: 67.36 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.2584, allocations: 127.9 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2584, allocations: 29.7 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.2584, allocations: 88.38 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.2585, allocations: 23.7 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.2585, allocations: 4 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.2586, allocations: 326.7 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.2587, allocations: 23.98 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.2588, allocations: 73.12 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/0.2589, allocations: 31.98 kB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2589, allocations: 4 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000228/0.2591, allocations: 129.4 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2591, allocations: 13.86 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2591, allocations: 0 / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.2592, allocations: 4 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2593, allocations: 19.92 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2593, allocations: 4.125 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2594, allocations: 19.89 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2595, allocations: 11.98 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.948e-05/0.2596, allocations: 114.9 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.2596, allocations: 7.906 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.2599, allocations: 153.9 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2599, allocations: 0 / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2599, allocations: 11.94 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2599, allocations: 0 / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.2604, allocations: 438.4 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2605, allocations: 4 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.2605, allocations: 8 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2605, allocations: 0 / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2606, allocations: 3.984 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2606, allocations: 3.953 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2606, allocations: 4 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.2609, allocations: 235.3 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.2609, allocations: 88.94 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2609, allocations: 4.469 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.261, allocations: 11.98 kB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.2611, allocations: 19.92 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.2611, allocations: 4 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.2612, allocations: 98.58 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2612, allocations: 8 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003269/0.2615, allocations: 43.98 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003857/0.2619, allocations: 151.6 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.2622, allocations: 91.83 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2622, allocations: 7.938 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.2623, allocations: 43.98 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.2626, allocations: 15.98 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.2631, allocations: 231.2 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2632, allocations: 0.6965 MB / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.03e-05/0.2633, allocations: 12.42 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.2633, allocations: 15.44 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2633, allocations: 3.938 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.004084/0.2674, allocations: 1.641 MB / 0.9884 GB, free: 18.2 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)