Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.627/1.627, allocations: 287.4 MB / 303.2 MB, free: 8.262 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.0009183/0.0009183, allocations: 178.9 kB / 371.8 MB, free: 10.81 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.334/1.334, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0007416/0.0007417, allocations: 97.34 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 11.16 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001231/0.1773, allocations: 1.05 MB / 0.9803 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000553/0.1779, allocations: 316.1 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.1779, allocations: 0 / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.105e-05/0.178, allocations: 7.938 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.383e-05/0.178, allocations: 0 / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1784, allocations: 63.86 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.1785, allocations: 31.91 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.1785, allocations: 7.938 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.1786, allocations: 12 kB / 0.9807 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.1786, allocations: 27.84 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1786, allocations: 0 / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1788, allocations: 67.92 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.1788, allocations: 23.92 kB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.1789, allocations: 41.62 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.179, allocations: 95.78 kB / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.179, allocations: 0 / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.52e-07/0.179, allocations: 0 / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.179, allocations: 0 / 0.981 GB, free: 26.43 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004239/0.1795, allocations: 414.3 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1795, allocations: 8.031 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.1796, allocations: 20.73 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.141e-05/0.1797, allocations: 184.2 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1797, allocations: 384 / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1797, allocations: 8.312 kB / 0.9816 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1799, allocations: 182.2 kB / 0.9817 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1799, allocations: 192 / 0.9817 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.18, allocations: 7.938 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.18, allocations: 0 / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.1801, allocations: 75.97 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1802, allocations: 197.4 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1803, allocations: 138.5 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.1804, allocations: 124.6 kB / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1804, allocations: 0 / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.1807, allocations: 212.3 kB / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.1807, allocations: 0 / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0005466/0.1813, allocations: 0.5487 MB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1813, allocations: 95.36 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.1814, allocations: 121.7 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.1814, allocations: 57.69 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.1814, allocations: 81.14 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.1815, allocations: 98.92 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.1815, allocations: 11.94 kB / 0.9835 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.1816, allocations: 338.8 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.1818, allocations: 168.9 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.182, allocations: 237.8 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.1824, allocations: 459.8 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1824, allocations: 0 / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0004873/0.1829, allocations: 492.8 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1829, allocations: 8 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.183, allocations: 3.938 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.183, allocations: 12.16 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.1831, allocations: 31.8 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1831, allocations: 4 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.1832, allocations: 31.59 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1832, allocations: 12.06 kB / 0.9852 GB, free: 21.88 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: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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.0001428/0.1834, allocations: 202.9 kB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.1834, allocations: 15.89 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.1834, allocations: 9.156 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1834, allocations: 0 / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1834, allocations: 4 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.1834, allocations: 92.86 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.1835, allocations: 31.98 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.362e-05/0.1835, allocations: 3.984 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.1836, allocations: 8 kB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004184/0.184, allocations: 498.7 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004038/0.1844, allocations: 0.5902 MB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.077e-05/0.1845, allocations: 116 kB / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.68e-05/0.1845, allocations: 83.28 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of Backend: time 5.41e-07/0.1845, allocations: 0 / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006977/0.1852, allocations: 392.4 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003879/0.1856, allocations: 0.7201 MB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.003603/0.1892, allocations: 1.659 MB / 0.9895 GB, free: 17.39 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)