Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 288.4 MB / 303.7 MB, free: 8.094 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.0009877/0.0009877, allocations: 194.7 kB / 372.3 MB, free: 10.1 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.533/1.533, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007045/0.0007046, allocations: 94.23 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.0004703, allocations: 14.12 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2374, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001689/0.2391, allocations: 1.215 MB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2402, allocations: 0.7461 MB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.2403, allocations: 4 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.2403, allocations: 3.938 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.952e-05/0.2404, allocations: 19.84 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.2408, allocations: 91.77 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.706e-05/0.2409, allocations: 83.7 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.241, allocations: 12 kB / 0.9823 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.2411, allocations: 35.91 kB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.2412, allocations: 39.83 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.2412, allocations: 0 / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.2414, allocations: 87.84 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.2414, allocations: 15.92 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.2415, allocations: 57.55 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.2417, allocations: 108 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2417, allocations: 0 / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2417, allocations: 3.938 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2417, allocations: 0 / 0.9826 GB, free: 24.79 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.0007138/0.2424, allocations: 472 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.2425, allocations: 8.031 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.2425, allocations: 8.844 kB / 0.9831 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2427, allocations: 184.1 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.634e-05/0.2428, allocations: 42.19 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2428, allocations: 8.375 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.243, allocations: 81.77 kB / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.243, allocations: 0 / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.243, allocations: 0 / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2431, allocations: 0 / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.2432, allocations: 55.95 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.2437, allocations: 320.7 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2439, allocations: 78.53 kB / 0.9838 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.244, allocations: 36.84 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2441, allocations: 4 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.2443, allocations: 99.38 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.2443, allocations: 0 / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004259/0.2447, allocations: 173.5 kB / 0.9841 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.2448, allocations: 51.41 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.2449, allocations: 136.5 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2449, allocations: 29.7 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.2449, allocations: 92.52 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.245, allocations: 32.02 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.245, allocations: 8 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.245, allocations: 322.8 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-05/0.2451, allocations: 31.97 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2453, allocations: 77.06 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2455, allocations: 116.9 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2455, allocations: 0 / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002548/0.2457, allocations: 137.5 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2458, allocations: 7.984 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2458, allocations: 4 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2458, allocations: 4.125 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2459, allocations: 19.98 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.2459, allocations: 0 / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.246, allocations: 23.92 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2461, allocations: 4 kB / 0.9851 GB, free: 21.9 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 7.218e-05/0.2461, allocations: 121.8 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.2462, allocations: 11.91 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.2462, allocations: 16.7 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2462, allocations: 0 / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2462, allocations: 4 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2462, allocations: 0 / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.2467, allocations: 438.2 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2467, allocations: 0 / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.2468, allocations: 15.92 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2468, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2468, allocations: 3.984 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.2468, allocations: 3.938 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2468, allocations: 0 / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2471, allocations: 231.3 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.2472, allocations: 89 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.2472, allocations: 4 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2473, allocations: 15.92 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.2474, allocations: 12.17 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.2474, allocations: 8 kB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.2475, allocations: 107.2 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2475, allocations: 0 / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002788/0.2478, allocations: 36 kB / 0.9862 GB, free: 20.71 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 (10): * Single equations (assignments): 7 * 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.0002903/0.2481, allocations: 162.4 kB / 0.9864 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.2483, allocations: 103.8 kB / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2484, allocations: 0 / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.2485, allocations: 51.95 kB / 0.9865 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.2488, allocations: 16.25 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.2492, allocations: 234.9 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.2493, allocations: 0.6967 MB / 0.9874 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.603e-05/0.2494, allocations: 8.656 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.2494, allocations: 15.38 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2494, allocations: 0 / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.003848/0.2533, allocations: 1.626 MB / 0.989 GB, free: 17.77 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)