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 2.059/2.059, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.001431/0.001431, allocations: 185.5 kB / 372.9 MB, free: 10.14 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.585/1.585, allocations: 205.4 MB / 0.6316 GB, free: 9.848 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.0007768/0.0007768, allocations: 90.36 kB / 0.745 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 15.12 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1778, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001415/0.1793, allocations: 1.243 MB / 0.9819 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.1803, allocations: 0.753 MB / 0.9827 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.1803, allocations: 0 / 0.9827 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.1803, allocations: 7.922 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.1804, allocations: 15.8 kB / 0.9827 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.1808, allocations: 103.8 kB / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.1809, allocations: 87.7 kB / 0.9829 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.929e-05/0.181, allocations: 12 kB / 0.9829 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.113e-05/0.1811, allocations: 47.83 kB / 0.9829 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.1811, allocations: 35.78 kB / 0.983 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1812, allocations: 7.984 kB / 0.983 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1813, allocations: 83.92 kB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.1813, allocations: 23.89 kB / 0.9831 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.1814, allocations: 61.5 kB / 0.9831 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1815, allocations: 116 kB / 0.9833 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1815, allocations: 0 / 0.9833 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1815, allocations: 0 / 0.9833 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.1815, allocations: 0 / 0.9833 GB, free: 24.73 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.0005619/0.1821, allocations: 0.4885 MB / 0.9837 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1821, allocations: 8.031 kB / 0.9837 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.1822, allocations: 12.84 kB / 0.9837 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.1823, allocations: 192 kB / 0.9839 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1823, allocations: 12.36 kB / 0.9839 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.1823, allocations: 4.375 kB / 0.9839 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1825, allocations: 85.95 kB / 0.984 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1825, allocations: 0 / 0.984 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1825, allocations: 0 / 0.984 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1825, allocations: 0 / 0.984 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1827, allocations: 59.89 kB / 0.9841 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1831, allocations: 332.8 kB / 0.9844 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1833, allocations: 86.66 kB / 0.9845 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.1834, allocations: 40.83 kB / 0.9845 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1834, allocations: 4.094 kB / 0.9845 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.1836, allocations: 115.1 kB / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.1836, allocations: 4 kB / 0.9846 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003385/0.1839, allocations: 173.5 kB / 0.9848 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.184, allocations: 55.41 kB / 0.9849 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.1841, allocations: 144.5 kB / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1841, allocations: 33.7 kB / 0.985 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.1841, allocations: 88.14 kB / 0.9851 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1841, allocations: 39.53 kB / 0.9852 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.1842, allocations: 11.94 kB / 0.9852 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.1842, allocations: 322.8 kB / 0.9855 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.1843, allocations: 35.92 kB / 0.9855 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.1844, allocations: 65.12 kB / 0.9856 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1845, allocations: 105.1 kB / 0.9857 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1845, allocations: 4 kB / 0.9857 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002052/0.1847, allocations: 141.6 kB / 0.9858 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1847, allocations: 7.984 kB / 0.9858 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1848, allocations: 3.984 kB / 0.9858 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1848, allocations: 4 kB / 0.9858 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1849, allocations: 19.92 kB / 0.9858 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.1849, allocations: 4 kB / 0.9858 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.185, allocations: 24.02 kB / 0.9859 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.185, allocations: 4 kB / 0.9859 GB, free: 21.78 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 6.508e-05/0.1851, allocations: 125.7 kB / 0.986 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.1851, allocations: 15.81 kB / 0.986 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.1854, allocations: 166.3 kB / 0.9862 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1854, allocations: 4 kB / 0.9862 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1854, allocations: 0 / 0.9862 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.1855, allocations: 92.94 kB / 0.9863 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1855, allocations: 4 kB / 0.9863 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.1856, allocations: 11.94 kB / 0.9863 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.1856, allocations: 15.97 kB / 0.9863 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002931/0.1859, allocations: 244.8 kB / 0.9865 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002625/0.1862, allocations: 323.7 kB / 0.9868 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.693e-05/0.1863, allocations: 58.09 kB / 0.9869 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.1864, allocations: 116.6 kB / 0.987 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of Backend: time 1.8e-07/0.1864, allocations: 0 / 0.987 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005633/0.1869, allocations: 191.8 kB / 0.9872 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003559/0.1873, allocations: 0.688 MB / 0.9879 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.003483/0.1908, allocations: 1.773 MB / 0.9896 GB, free: 17.89 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)