Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.548/1.548, allocations: 287.4 MB / 302.6 MB, free: 8.125 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.001079/0.001079, allocations: 186 kB / 371.1 MB, free: 10.76 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.239/1.239, allocations: 205.4 MB / 0.6298 GB, free: 10.46 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.0007436/0.0007435, allocations: 83.8 kB / 0.7431 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 16.44 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1746, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001348/0.176, allocations: 1.292 MB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1771, allocations: 0.7659 MB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.1771, allocations: 0 / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.1772, allocations: 3.938 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.1772, allocations: 23.78 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1777, allocations: 111.7 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1778, allocations: 107.7 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.1779, allocations: 20.25 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.178, allocations: 51.84 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.1781, allocations: 71.72 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1781, allocations: 4 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1783, allocations: 87.91 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.1783, allocations: 23.91 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.1783, allocations: 41.64 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1785, allocations: 139.6 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1785, allocations: 0 / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1785, allocations: 0 / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.1785, allocations: 4 kB / 0.9814 GB, free: 25.32 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005287/0.179, allocations: 470.5 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1791, allocations: 8.031 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.1791, allocations: 34.75 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1792, allocations: 16.75 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.948e-05/0.1793, allocations: 180.8 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1793, allocations: 8.312 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1793, allocations: 15.94 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1795, allocations: 101.6 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1795, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1796, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1796, allocations: 3.938 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.1798, allocations: 75.95 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007058/0.1805, allocations: 384.5 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1806, allocations: 70.55 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1808, allocations: 52.83 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.1808, allocations: 16.14 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.181, allocations: 103.3 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.1811, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004932/0.1816, allocations: 225.4 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.1816, allocations: 59.34 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.1817, allocations: 142.9 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1817, allocations: 29.7 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.1818, allocations: 108.3 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.1818, allocations: 19.73 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.1818, allocations: 4 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.1818, allocations: 314.8 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.1819, allocations: 47.97 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1821, allocations: 86.14 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.1823, allocations: 120.2 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1823, allocations: 0 / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003/0.1826, allocations: 181.4 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1826, allocations: 6.344 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1826, allocations: 0 / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1827, allocations: 4 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1828, allocations: 19.92 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1828, allocations: 8.312 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.552e-05/0.1829, allocations: 11.98 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1829, allocations: 12.03 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.452e-05/0.183, allocations: 121.9 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.183, allocations: 19.69 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.1831, allocations: 12.77 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1831, allocations: 11.94 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1831, allocations: 0 / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1831, allocations: 0 / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.1836, allocations: 470.4 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1836, allocations: 0 / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.1837, allocations: 19.92 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1837, allocations: 3.938 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1837, allocations: 0 / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1837, allocations: 8 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1837, allocations: 0 / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.184, allocations: 275.3 kB / 0.9851 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.1841, allocations: 88.95 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1841, allocations: 4 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1842, allocations: 7.984 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1843, allocations: 8 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1843, allocations: 7.984 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.1843, allocations: 105.3 kB / 0.9853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1844, allocations: 0 / 0.9853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002928/0.1846, allocations: 43.89 kB / 0.9854 GB, free: 20.89 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007354/0.1854, allocations: 0.8791 MB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.1857, allocations: 111.9 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1857, allocations: 8.188 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1858, allocations: 59.91 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1861, allocations: 8.141 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1872, allocations: 0.7931 MB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.1873, allocations: 0.7014 MB / 0.9879 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1874, allocations: 7.984 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.1874, allocations: 31.42 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1874, allocations: 3.938 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.2006, allocations: 2.993 MB / 0.9908 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.2008, allocations: 244.6 kB / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.776, allocations: 0 / 0.9911 GB, free: 15.05 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)