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.716/2.716, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.002294/0.002294, allocations: 181.1 kB / 370.8 MB, free: 10.87 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.313/2.313, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001183/0.001183, allocations: 92.42 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000697/0.0006973, allocations: 10.97 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2315, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001831/0.2333, allocations: 1.234 MB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.235, allocations: 0.7542 MB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.2351, allocations: 4 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.2351, allocations: 3.938 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.2352, allocations: 19.89 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.2358, allocations: 103.7 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2359, allocations: 59.86 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.236, allocations: 7.984 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2361, allocations: 43.84 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.36e-05/0.2362, allocations: 43.81 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2363, allocations: 4 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.2365, allocations: 63.94 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.2365, allocations: 19.91 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.2366, allocations: 45.64 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.2368, allocations: 115.9 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2368, allocations: 0 / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2368, allocations: 0 / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2368, allocations: 0 / 0.9806 GB, free: 25.86 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.0008743/0.2377, allocations: 0.4884 MB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2378, allocations: 8.031 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.2378, allocations: 15.86 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.238, allocations: 177 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.2381, allocations: 11.94 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.2381, allocations: 4 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.2384, allocations: 77.64 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2384, allocations: 0 / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2384, allocations: 7.984 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2384, allocations: 7.938 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.2387, allocations: 55.92 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.2394, allocations: 336.6 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.2397, allocations: 86.66 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2397, allocations: 0 / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.24, allocations: 107.3 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.675e-06/0.24, allocations: 0 / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006158/0.2406, allocations: 185.5 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2407, allocations: 51.41 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2408, allocations: 143.8 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2409, allocations: 33.69 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.2409, allocations: 96.05 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.241, allocations: 23.7 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.241, allocations: 8 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.18e-05/0.2411, allocations: 322.8 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2412, allocations: 31.92 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2414, allocations: 65.12 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2415, allocations: 43.94 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2415, allocations: 0 / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000408/0.2419, allocations: 137.4 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.242, allocations: 11.94 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.242, allocations: 8.094 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.242, allocations: 0 / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.2422, allocations: 19.92 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2422, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.2424, allocations: 23.83 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.2425, allocations: 8 kB / 0.9831 GB, free: 23.05 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.0001066/0.2426, allocations: 117.8 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.2426, allocations: 11.91 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.2431, allocations: 179.5 kB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2431, allocations: 0 / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2432, allocations: 0 / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2432, allocations: 0 / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008106/0.244, allocations: 479.5 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.244, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.2442, allocations: 15.98 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2442, allocations: 0 / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.2442, allocations: 11.98 kB / 0.9839 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2442, allocations: 0 / 0.9839 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2442, allocations: 0 / 0.9839 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.2447, allocations: 253.4 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.2447, allocations: 100.8 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.2448, allocations: 8 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.245, allocations: 15.98 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.2451, allocations: 11.98 kB / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.2451, allocations: 7.984 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.2452, allocations: 103.3 kB / 0.9844 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2452, allocations: 0 / 0.9844 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004387/0.2456, allocations: 47.98 kB / 0.9844 GB, free: 21.62 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.0004239/0.2461, allocations: 160 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.2465, allocations: 99.83 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2465, allocations: 0 / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2467, allocations: 51.98 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.247, allocations: 24.64 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.2476, allocations: 264.7 kB / 0.985 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.2478, allocations: 0.7083 MB / 0.9857 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.272e-05/0.2479, allocations: 8.547 kB / 0.9857 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.248, allocations: 19.38 kB / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.248, allocations: 0 / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.006342/0.2543, allocations: 1.812 MB / 0.9875 GB, free: 18.45 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)