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.85/1.85, allocations: 288.4 MB / 303.4 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.001193/0.001193, allocations: 177.3 kB / 372 MB, free: 10.29 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.679/1.679, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.001069/0.001069, allocations: 86.36 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004443, allocations: 13.83 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2503, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001728/0.2521, allocations: 1.242 MB / 0.9808 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2534, allocations: 0.7422 MB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.2535, allocations: 0 / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.2535, allocations: 11.92 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2537, allocations: 19.86 kB / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.2542, allocations: 99.75 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2543, allocations: 91.64 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.2544, allocations: 8 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2545, allocations: 47.83 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.2546, allocations: 43.83 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.2547, allocations: 4 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.2548, allocations: 79.86 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.2549, allocations: 19.95 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.2549, allocations: 41.64 kB / 0.982 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2551, allocations: 116 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2551, allocations: 0 / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2551, allocations: 0 / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2551, allocations: 0 / 0.9821 GB, free: 25.11 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.0007203/0.2559, allocations: 0.4922 MB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2559, allocations: 8.031 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.256, allocations: 11.91 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.2561, allocations: 182.8 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.2561, allocations: 8 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.2561, allocations: 7.984 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2563, allocations: 81.64 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2563, allocations: 0 / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.2564, allocations: 4 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.2564, allocations: 0 / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.2565, allocations: 59.89 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.2571, allocations: 332.7 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.2573, allocations: 82.66 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.2574, allocations: 48.86 kB / 0.9834 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.2574, allocations: 4 kB / 0.9834 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.2576, allocations: 99.3 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.2576, allocations: 0 / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004022/0.2581, allocations: 181.5 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2581, allocations: 59.41 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.2582, allocations: 152.6 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2582, allocations: 29.7 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.2583, allocations: 100 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2583, allocations: 19.72 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.2583, allocations: 4 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.2584, allocations: 326.8 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.2585, allocations: 35.97 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.2585, allocations: 65.14 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.2586, allocations: 35.98 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2587, allocations: 4 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002323/0.2589, allocations: 137.4 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2589, allocations: 7.953 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2589, allocations: 8 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.259, allocations: 0 / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2591, allocations: 27.91 kB / 0.9846 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2591, allocations: 96 / 0.9846 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2592, allocations: 27.84 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2592, allocations: 7.984 kB / 0.9846 GB, free: 22.25 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 8.019e-05/0.2593, allocations: 119.1 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.2593, allocations: 12.05 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.2597, allocations: 178.3 kB / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2597, allocations: 0 / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2597, allocations: 0 / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2597, allocations: 4 kB / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.2602, allocations: 476.4 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2602, allocations: 3.953 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.2603, allocations: 15.98 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2603, allocations: 0 / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2603, allocations: 4 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2603, allocations: 0 / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2603, allocations: 3.984 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.2606, allocations: 255.3 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.2607, allocations: 92.88 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.2607, allocations: 4 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.2609, allocations: 15.98 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.2609, allocations: 7.984 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.261, allocations: 4 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.261, allocations: 108.5 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.011e-06/0.261, allocations: 4 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003229/0.2614, allocations: 43.94 kB / 0.9859 GB, free: 20.82 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.0003946/0.2618, allocations: 157.7 kB / 0.9861 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.2621, allocations: 108.4 kB / 0.9862 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2621, allocations: 0 / 0.9862 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2622, allocations: 62.05 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2625, allocations: 18.23 kB / 0.9862 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.263, allocations: 267.2 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.2632, allocations: 0.7004 MB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.467e-05/0.2632, allocations: 16.83 kB / 0.9872 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.2633, allocations: 15.42 kB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2633, allocations: 0 / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.004304/0.2676, allocations: 1.814 MB / 0.989 GB, free: 17.64 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)