Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.001491, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 194.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.83 kB / 0.6709 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.176, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002377/0.1784, allocations: 1.569 MB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1795, allocations: 0.7722 MB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.1796, allocations: 0 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.1796, allocations: 0 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.1797, allocations: 3.938 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.1801, allocations: 107.8 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.1802, allocations: 75.75 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.1803, allocations: 12 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.1803, allocations: 27.86 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.1804, allocations: 39.88 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1804, allocations: 4 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1806, allocations: 91.84 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.1806, allocations: 19.92 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.1807, allocations: 27.86 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1809, allocations: 135.9 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1809, allocations: 8 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1809, allocations: 0 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.1809, allocations: 0 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005439/0.1814, allocations: 413 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1815, allocations: 12.03 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.1815, allocations: 34.75 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1816, allocations: 8.844 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/0.1817, allocations: 184.1 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1817, allocations: 4.375 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.1817, allocations: 8.359 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1819, allocations: 73.72 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1819, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1819, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1819, allocations: 4 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1821, allocations: 39.97 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.1826, allocations: 320.6 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.1827, allocations: 46.56 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.1828, allocations: 32.97 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1829, allocations: 4 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.183, allocations: 75.44 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.183, allocations: 0 / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003719/0.1834, allocations: 141.6 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.1834, allocations: 51.41 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.1835, allocations: 125.8 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1836, allocations: 29.7 kB / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.1836, allocations: 96.06 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1836, allocations: 15.81 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.1837, allocations: 29.7 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.1838, allocations: 318.8 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.1839, allocations: 27.98 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.184, allocations: 50.5 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1841, allocations: 78.47 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1841, allocations: 0 / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002283/0.1844, allocations: 117.5 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1844, allocations: 4 kB / 0.7878 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1844, allocations: 4 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.1844, allocations: 0 / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.1845, allocations: 11.98 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1845, allocations: 4.328 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.1846, allocations: 4 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1846, allocations: 8 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.1847, allocations: 121.8 kB / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.1847, allocations: 11.89 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.1848, allocations: 8.375 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.1848, allocations: 0 / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1848, allocations: 0 / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1848, allocations: 3.984 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.1852, allocations: 390.3 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1852, allocations: 0 / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.1853, allocations: 8 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1853, allocations: 3.984 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1853, allocations: 4 kB / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1853, allocations: 7.875 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1853, allocations: 0 / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1856, allocations: 203.4 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.1856, allocations: 89 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1856, allocations: 4 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.1857, allocations: 7.938 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1858, allocations: 15.92 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1858, allocations: 4 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.176e-05/0.1859, allocations: 91.27 kB / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.312e-06/0.1859, allocations: 0 / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002717/0.1861, allocations: 39.94 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006934/0.1868, allocations: 0.8032 MB / 0.7896 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1871, allocations: 71.89 kB / 0.7897 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1871, allocations: 4.125 kB / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.1872, allocations: 35.92 kB / 0.7897 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1874, allocations: 11.88 kB / 0.7898 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1889, allocations: 1.491 MB / 0.7912 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1891, allocations: 0.6954 MB / 0.7919 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.1891, allocations: 4 kB / 0.7919 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.1892, allocations: 27.42 kB / 0.7919 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1892, allocations: 0 / 0.7919 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.2005, allocations: 2.433 MB / 0.7943 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.2007, allocations: 274.3 kB / 0.7946 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.863, allocations: 4.062 kB / 0.7946 GB, free: 1.422 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)