Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.791/2.791, allocations: 287.3 MB / 302.3 MB, free: 8.387 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.001567/0.001568, allocations: 183 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001074/0.001073, allocations: 105 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007519/0.0007521, allocations: 11.05 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2403, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001798/0.2421, allocations: 1.195 MB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.2437, allocations: 0.7504 MB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.2438, allocations: 0 / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.2438, allocations: 3.938 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.2439, allocations: 15.97 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.2445, allocations: 99.62 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.2446, allocations: 55.92 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.2447, allocations: 7.984 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2448, allocations: 35.86 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.2449, allocations: 35.88 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2449, allocations: 4 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.2451, allocations: 71.88 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.2452, allocations: 11.97 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.2452, allocations: 41.64 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.2454, allocations: 104 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2455, allocations: 0 / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2455, allocations: 3.938 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2455, allocations: 0 / 0.9806 GB, free: 25.92 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.0007887/0.2463, allocations: 450.5 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2463, allocations: 12.03 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.2464, allocations: 11.84 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2465, allocations: 174.9 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2466, allocations: 7.938 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.2466, allocations: 11.98 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.2468, allocations: 65.66 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2469, allocations: 0 / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2469, allocations: 4 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2469, allocations: 4 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.2471, allocations: 43.97 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.2478, allocations: 324.7 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.248, allocations: 70.55 kB / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.2481, allocations: 4.141 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.2483, allocations: 95.39 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.2484, allocations: 0 / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005628/0.2489, allocations: 161.5 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.249, allocations: 63.34 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2492, allocations: 126.4 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2492, allocations: 29.7 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.2492, allocations: 92.36 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.2493, allocations: 19.72 kB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.2493, allocations: 4 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.2494, allocations: 326.8 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.2495, allocations: 24.36 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.2496, allocations: 70.25 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2498, allocations: 39.92 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2498, allocations: 3.938 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003423/0.2502, allocations: 133.4 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2502, allocations: 8 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.2502, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2502, allocations: 8.125 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.2504, allocations: 15.98 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2504, allocations: 3.953 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.2506, allocations: 15.92 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.2507, allocations: 8 kB / 0.9829 GB, free: 23.29 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 0.0001002/0.2508, allocations: 127.7 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.2508, allocations: 11.91 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.2512, allocations: 149.9 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2513, allocations: 96 / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2513, allocations: 3.984 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2513, allocations: 7.891 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.252, allocations: 438.3 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.252, allocations: 0 / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.2522, allocations: 19.92 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2522, allocations: 0 / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2522, allocations: 0 / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2522, allocations: 7.938 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2522, allocations: 0 / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.2526, allocations: 227.4 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.2527, allocations: 88.95 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.2527, allocations: 7.984 kB / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.2529, allocations: 8 kB / 0.9839 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.253, allocations: 19.94 kB / 0.9839 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.253, allocations: 11.98 kB / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.259e-05/0.2531, allocations: 92.27 kB / 0.984 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2531, allocations: 0 / 0.984 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004418/0.2536, allocations: 40 kB / 0.9841 GB, free: 21.95 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.0004308/0.254, allocations: 170.2 kB / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.2544, allocations: 87.83 kB / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2544, allocations: 0 / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.2546, allocations: 55.91 kB / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.2549, allocations: 8.25 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.2555, allocations: 235 kB / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2557, allocations: 0.6926 MB / 0.9853 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.896e-05/0.2557, allocations: 16.42 kB / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.2558, allocations: 11.44 kB / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of SimCode: time 8.52e-07/0.2558, allocations: 0 / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.005796/0.2616, allocations: 1.621 MB / 0.9869 GB, free: 19.02 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)