Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.669/1.669, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.001016/0.001016, allocations: 192.6 kB / 371.2 MB, free: 10.85 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.477/1.477, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0007629/0.0007631, allocations: 90.36 kB / 0.7432 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 11.84 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1978, allocations: 115.3 MB / 0.9787 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001967/0.1999, allocations: 1.199 MB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2014, allocations: 0.7151 MB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.2015, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.2015, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.2016, allocations: 15.84 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.2023, allocations: 103.8 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.2025, allocations: 59.84 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2026, allocations: 11.98 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2028, allocations: 35.84 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.795e-05/0.2029, allocations: 31.91 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2029, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.2032, allocations: 91.84 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.2032, allocations: 7.984 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.2033, allocations: 41.64 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.2035, allocations: 104 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2035, allocations: 0 / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2035, allocations: 0 / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2036, allocations: 0 / 0.981 GB, free: 25.8 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.0006529/0.2042, allocations: 405 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2043, allocations: 12.03 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.2043, allocations: 8.844 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2045, allocations: 176.3 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/0.2045, allocations: 4.375 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.2045, allocations: 4.375 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.2048, allocations: 81.83 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2048, allocations: 0 / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2049, allocations: 4 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2049, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.2051, allocations: 51.95 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.2058, allocations: 316.7 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.206, allocations: 62.48 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2061, allocations: 32.97 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2061, allocations: 0 / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.2064, allocations: 87.36 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.2064, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005227/0.2069, allocations: 145.6 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.207, allocations: 59.34 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.2071, allocations: 121.8 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2071, allocations: 29.7 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.2072, allocations: 96.14 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.2072, allocations: 15.75 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.2072, allocations: 4 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.2073, allocations: 326.8 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.2074, allocations: 23.98 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2075, allocations: 58.48 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.2078, allocations: 74.5 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2078, allocations: 0 / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003268/0.2081, allocations: 121.5 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2081, allocations: 8 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2082, allocations: 0 / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2082, allocations: 0 / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.2083, allocations: 15.98 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2083, allocations: 4 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2084, allocations: 19.95 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2085, allocations: 4 kB / 0.9833 GB, free: 23.23 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 8.196e-05/0.2086, allocations: 122.8 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.2086, allocations: 4 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.2086, allocations: 8.375 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2086, allocations: 4 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2087, allocations: 3.984 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2087, allocations: 0 / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.2092, allocations: 390.3 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2092, allocations: 0 / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.2093, allocations: 7.938 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2093, allocations: 4 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2093, allocations: 4 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2093, allocations: 3.938 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2093, allocations: 7.938 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.2096, allocations: 215.4 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.2097, allocations: 77.11 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.2097, allocations: 4 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2099, allocations: 15.98 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.2099, allocations: 3.938 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2099, allocations: 7.984 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.21, allocations: 91.22 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.21, allocations: 0 / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000479/0.2105, allocations: 39.98 kB / 0.9843 GB, free: 22.14 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.0003469/0.2108, allocations: 164.9 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.2112, allocations: 75.95 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2112, allocations: 0 / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2113, allocations: 39.92 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.2117, allocations: 10.36 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.2121, allocations: 201.8 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.2123, allocations: 0.6887 MB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.365e-05/0.2123, allocations: 8 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.2124, allocations: 15.42 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2124, allocations: 0 / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.0046/0.217, allocations: 1.342 MB / 0.9867 GB, free: 19.57 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)