Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.536/1.536, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0009324/0.0009324, allocations: 192.9 kB / 372.3 MB, free: 10.12 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.356/1.356, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0007094/0.0007094, allocations: 94.3 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 12.38 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001253/0.1491, allocations: 1.207 MB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.15, allocations: 0.7188 MB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.483e-05/0.15, allocations: 0 / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.1501, allocations: 3.938 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.1501, allocations: 11.91 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.1505, allocations: 99.77 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.1506, allocations: 63.78 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.81e-05/0.1507, allocations: 7.984 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.1508, allocations: 31.92 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.1508, allocations: 35.89 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1508, allocations: 0 / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.151, allocations: 91.84 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.151, allocations: 11.92 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.1511, allocations: 53.55 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1512, allocations: 100 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1512, allocations: 0 / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1512, allocations: 0 / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.1512, allocations: 0 / 0.9826 GB, free: 24.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004309/0.1517, allocations: 413 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1517, allocations: 12.03 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.1517, allocations: 38.73 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.1518, allocations: 8.844 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.758e-05/0.1518, allocations: 172.2 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1519, allocations: 4.359 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1519, allocations: 8.312 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.152, allocations: 85.77 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1521, allocations: 0 / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1521, allocations: 0 / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1521, allocations: 3.938 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1522, allocations: 43.97 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1527, allocations: 320.8 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1528, allocations: 46.56 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.1529, allocations: 36.97 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1529, allocations: 4 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.1531, allocations: 83.31 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1531, allocations: 0 / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003327/0.1534, allocations: 145.6 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.1535, allocations: 59.41 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.1535, allocations: 121.8 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1535, allocations: 25.7 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.1536, allocations: 95.98 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.1536, allocations: 11.89 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.1536, allocations: 3.938 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.1537, allocations: 330.7 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.1537, allocations: 31.97 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.1538, allocations: 46.56 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.154, allocations: 78.55 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.154, allocations: 0 / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001991/0.1542, allocations: 125.5 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1542, allocations: 11.94 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1542, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1542, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.1543, allocations: 15.98 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1543, allocations: 400 / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.1544, allocations: 7.906 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1544, allocations: 4 kB / 0.9848 GB, free: 22.17 MB / 0.6198 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.1545, allocations: 131.3 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1545, allocations: 4 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.1545, allocations: 12.36 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1545, allocations: 0 / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1545, allocations: 3.938 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1546, allocations: 0 / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.1549, allocations: 402.3 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1549, allocations: 4 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.1549, allocations: 4 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1549, allocations: 0 / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.155, allocations: 7.922 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.155, allocations: 3.938 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.155, allocations: 0 / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1552, allocations: 219.4 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.1552, allocations: 81.11 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1552, allocations: 3.984 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.1553, allocations: 11.88 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1554, allocations: 7.984 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1554, allocations: 0 / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.1554, allocations: 95.27 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1554, allocations: 4 kB / 0.9858 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002469/0.1557, allocations: 40 kB / 0.9858 GB, free: 21.06 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: 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 (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.0005253/0.1562, allocations: 0.8059 MB / 0.9866 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1564, allocations: 79.88 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1564, allocations: 0 / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.1565, allocations: 40.11 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1568, allocations: 12.62 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.1575, allocations: 0.6041 MB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.846e-05/0.1576, allocations: 0.6926 MB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.1577, allocations: 4.547 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.1577, allocations: 23.42 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.1577, allocations: 0 / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09463/0.2524, allocations: 2.327 MB / 0.9903 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.2526, allocations: 249.2 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.867, allocations: 0 / 0.9906 GB, free: 16.21 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)