Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 288.4 MB / 303.7 MB, free: 7.996 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.001346/0.001346, allocations: 183.4 kB / 372.3 MB, free: 10.12 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.531/1.531, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0008522/0.0008523, allocations: 90.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004201, allocations: 15.78 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001945/0.2539, allocations: 1.243 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2552, allocations: 0.7491 MB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.2552, allocations: 0 / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.2553, allocations: 3.938 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2554, allocations: 23.86 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.2559, allocations: 103.7 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.514e-05/0.256, allocations: 87.7 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2561, allocations: 8 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.825e-05/0.2562, allocations: 39.84 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.2563, allocations: 47.77 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.2563, allocations: 8 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.2564, allocations: 79.91 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.2565, allocations: 15.92 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.2565, allocations: 73.47 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2567, allocations: 108 kB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2567, allocations: 4 kB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2567, allocations: 0 / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2567, allocations: 0 / 0.9827 GB, free: 24.71 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006269/0.2573, allocations: 0.4885 MB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2574, allocations: 12.03 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.2574, allocations: 12.78 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2575, allocations: 184.6 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2576, allocations: 8.312 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2576, allocations: 4.375 kB / 0.9833 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.2578, allocations: 89.95 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2578, allocations: 0 / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2578, allocations: 0 / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2578, allocations: 4 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2579, allocations: 51.95 kB / 0.9835 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.2584, allocations: 340.7 kB / 0.9838 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.2586, allocations: 86.64 kB / 0.9839 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.2587, allocations: 40.84 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2587, allocations: 0 / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.259, allocations: 111.2 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.259, allocations: 0 / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003566/0.2593, allocations: 177.5 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2594, allocations: 55.41 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.2595, allocations: 144.2 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2595, allocations: 29.7 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.2595, allocations: 96.12 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.2596, allocations: 27.61 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.2596, allocations: 4 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.2596, allocations: 322.8 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.2597, allocations: 39.84 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.2598, allocations: 73.14 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2599, allocations: 105.1 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2599, allocations: 0 / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002056/0.2602, allocations: 137.4 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2602, allocations: 8 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2602, allocations: 0 / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2602, allocations: 7.984 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2603, allocations: 24.02 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2603, allocations: 0 / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.653e-05/0.2604, allocations: 19.94 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2604, allocations: 11.98 kB / 0.9853 GB, free: 21.77 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 7.155e-05/0.2605, allocations: 128.8 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.2605, allocations: 15.75 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.2609, allocations: 174.3 kB / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2609, allocations: 4 kB / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2609, allocations: 0 / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2609, allocations: 144 / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.2614, allocations: 478.2 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2614, allocations: 0 / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.2615, allocations: 15.98 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2615, allocations: 4 kB / 0.986 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2615, allocations: 7.984 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2615, allocations: 0 / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2615, allocations: 3.938 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.2618, allocations: 256.5 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.2618, allocations: 85.02 kB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.2618, allocations: 0 / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.262, allocations: 15.98 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.262, allocations: 11.92 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.262, allocations: 7.984 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.2621, allocations: 118.3 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2621, allocations: 0 / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000276/0.2624, allocations: 47.94 kB / 0.9866 GB, free: 20.33 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003268/0.2627, allocations: 158.5 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.263, allocations: 101.8 kB / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.263, allocations: 4 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.2631, allocations: 51.98 kB / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2634, allocations: 15.98 kB / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.2638, allocations: 271.2 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.264, allocations: 0.7083 MB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.849e-05/0.2641, allocations: 4.562 kB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.2641, allocations: 23.42 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2641, allocations: 0 / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.004111/0.2682, allocations: 1.824 MB / 0.9896 GB, free: 17.14 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)