Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.762/1.762, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.0009853/0.0009855, allocations: 179 kB / 372 MB, free: 10.27 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.716/1.716, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.000732/0.000732, allocations: 88.97 kB / 0.7441 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 19.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001385/0.2033, allocations: 1.211 MB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2043, allocations: 0.7383 MB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.2044, allocations: 0 / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.2044, allocations: 7.922 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.2045, allocations: 15.92 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.205, allocations: 103.8 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.844e-05/0.2051, allocations: 91.69 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.756e-05/0.2052, allocations: 12.27 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.2053, allocations: 35.91 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.2054, allocations: 47.81 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2054, allocations: 8 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.2056, allocations: 87.91 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2056, allocations: 23.91 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.2056, allocations: 29.7 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.2058, allocations: 119.7 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2058, allocations: 0 / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2058, allocations: 3.938 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2058, allocations: 0 / 0.9821 GB, free: 25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005241/0.2063, allocations: 446.4 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2064, allocations: 23.94 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.2064, allocations: 30.56 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.2065, allocations: 7.906 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.2065, allocations: 178.9 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2066, allocations: 7.984 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.2066, allocations: 4 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.2068, allocations: 93.58 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2068, allocations: 0 / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2069, allocations: 3.984 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2069, allocations: 0 / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.2071, allocations: 51.97 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.2077, allocations: 344.7 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.2079, allocations: 58.59 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.208, allocations: 52.83 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2081, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.2083, allocations: 95.36 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2083, allocations: 0 / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004874/0.2088, allocations: 201.6 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.2088, allocations: 55.36 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.2089, allocations: 131.2 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2089, allocations: 29.7 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.209, allocations: 92.14 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.209, allocations: 19.8 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.209, allocations: 4 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.209, allocations: 314.8 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.2091, allocations: 35.97 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.2092, allocations: 64.28 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.2093, allocations: 39.98 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2093, allocations: 0 / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002326/0.2096, allocations: 141.5 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2096, allocations: 8 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2096, allocations: 3.938 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2096, allocations: 4.031 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2098, allocations: 19.92 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2098, allocations: 7.953 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.2099, allocations: 19.91 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2099, allocations: 7.938 kB / 0.9846 GB, free: 22.2 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,occ.y,$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 (13): * Single equations (assignments): 13 * 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.492e-05/0.21, allocations: 125.9 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.21, allocations: 4 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.21, allocations: 8.375 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.21, allocations: 0 / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.21, allocations: 0 / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.21, allocations: 7.953 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.2105, allocations: 434.3 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2105, allocations: 0 / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.2106, allocations: 7.984 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2106, allocations: 0 / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2106, allocations: 0 / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2106, allocations: 3.953 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2106, allocations: 4 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.2109, allocations: 255.7 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.211, allocations: 92.94 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.211, allocations: 0 / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2111, allocations: 8 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.2112, allocations: 11.94 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2112, allocations: 4 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.2112, allocations: 100.6 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2112, allocations: 0 / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00028/0.2115, allocations: 39.98 kB / 0.9857 GB, free: 21.02 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0007563/0.2123, allocations: 0.8481 MB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.2126, allocations: 99.88 kB / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2126, allocations: 0 / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.2127, allocations: 43.98 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.213, allocations: 16.69 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/0.214, allocations: 0.6538 MB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.2141, allocations: 0.6887 MB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.442e-05/0.2142, allocations: 16.02 kB / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.2142, allocations: 23.42 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2142, allocations: 0 / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.2269, allocations: 2.661 MB / 0.9906 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.2271, allocations: 257.3 kB / 0.9908 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.934, allocations: 2.5 kB / 0.9908 GB, free: 15.69 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)