Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.842/2.842, allocations: 287.5 MB / 302.4 MB, free: 8.195 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.001472/0.001472, allocations: 174.2 kB / 371 MB, free: 10.86 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.256/2.256, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009434/0.0009434, allocations: 90.7 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004893, allocations: 14.88 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2099, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001782/0.2117, allocations: 1.249 MB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2132, allocations: 0.7385 MB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.2133, allocations: 0 / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.2133, allocations: 3.938 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2134, allocations: 27.84 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.214, allocations: 95.77 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.2141, allocations: 91.64 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.2142, allocations: 11.98 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2143, allocations: 43.84 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.2144, allocations: 43.81 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.2145, allocations: 8 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.2147, allocations: 79.86 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.2147, allocations: 15.97 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.2148, allocations: 41.64 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.215, allocations: 119.9 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.215, allocations: 0 / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.215, allocations: 0 / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.215, allocations: 0 / 0.9809 GB, free: 25.78 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.0008642/0.2159, allocations: 0.4884 MB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.216, allocations: 8.031 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.216, allocations: 15.86 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2161, allocations: 178.8 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2162, allocations: 8 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.2162, allocations: 4 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2165, allocations: 81.64 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2165, allocations: 0 / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2165, allocations: 7.938 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2165, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.2168, allocations: 63.84 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/0.2175, allocations: 336.7 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.2178, allocations: 78.67 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.218, allocations: 40.94 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.218, allocations: 7.922 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.2183, allocations: 111.2 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.885e-06/0.2183, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006073/0.2189, allocations: 177.8 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.219, allocations: 55.41 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2191, allocations: 151.6 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2192, allocations: 33.64 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.2192, allocations: 96.05 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.2193, allocations: 27.69 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.2193, allocations: 4 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.411e-05/0.2194, allocations: 322.8 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.2195, allocations: 27.98 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.2197, allocations: 74.81 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2198, allocations: 35.98 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2199, allocations: 3.938 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003848/0.2203, allocations: 145.4 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2203, allocations: 4 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2203, allocations: 4 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.2203, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.2205, allocations: 23.92 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2205, allocations: 0 / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2207, allocations: 31.92 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2207, allocations: 4 kB / 0.9834 GB, free: 22.92 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 0.0001099/0.2209, allocations: 121.8 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.2209, allocations: 15.86 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.2214, allocations: 162.3 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2215, allocations: 4 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2215, allocations: 0 / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2215, allocations: 4 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.2223, allocations: 474.7 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2223, allocations: 0 / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2225, allocations: 20 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2225, allocations: 0 / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.2225, allocations: 7.984 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2225, allocations: 0 / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2225, allocations: 7.922 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.223, allocations: 256.7 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.2231, allocations: 93.02 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.2231, allocations: 4 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.2233, allocations: 15.98 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.2234, allocations: 11.97 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.2234, allocations: 7.984 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.677e-05/0.2235, allocations: 106.7 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2235, allocations: 0 / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004159/0.224, allocations: 47.98 kB / 0.9847 GB, free: 21.49 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.0003916/0.2244, allocations: 152.2 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.2248, allocations: 106.1 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2249, allocations: 4.062 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.225, allocations: 55.97 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.2255, allocations: 23.88 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.2261, allocations: 263.1 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.2263, allocations: 0.7004 MB / 0.986 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.555e-05/0.2264, allocations: 16.55 kB / 0.986 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.2264, allocations: 15.38 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of SimCode: time 9.51e-07/0.2264, allocations: 0 / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.006389/0.2328, allocations: 1.823 MB / 0.9878 GB, free: 18.3 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)