Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.744/1.744, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001149/0.001149, allocations: 186.3 kB / 371.2 MB, free: 10.82 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.738/1.738, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009875/0.0009874, allocations: 101.5 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 15 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1982, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001588/0.1998, allocations: 1.207 MB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2011, allocations: 0.7073 MB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.2012, allocations: 0 / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.2012, allocations: 3.984 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.357e-05/0.2013, allocations: 15.86 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.2019, allocations: 99.78 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.202, allocations: 67.81 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.2021, allocations: 8 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.2022, allocations: 27.86 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.2022, allocations: 39.88 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.2023, allocations: 4 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.2025, allocations: 83.86 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.2025, allocations: 15.98 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.2025, allocations: 37.62 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.2027, allocations: 108 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2027, allocations: 0 / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2027, allocations: 0 / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2027, allocations: 4 kB / 0.981 GB, free: 25.74 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.000497/0.2032, allocations: 401 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2033, allocations: 12.02 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.2033, allocations: 12.84 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.941e-05/0.2034, allocations: 172.2 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.2034, allocations: 4.375 kB / 0.9816 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2035, allocations: 4.375 kB / 0.9816 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2036, allocations: 77.91 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2037, allocations: 0 / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2037, allocations: 4 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2037, allocations: 0 / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.2038, allocations: 47.97 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.2044, allocations: 316.8 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.2045, allocations: 58.5 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.175e-05/0.2046, allocations: 32.97 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2046, allocations: 4 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.2048, allocations: 79.38 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.2048, allocations: 0 / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003587/0.2052, allocations: 141.6 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2053, allocations: 63.33 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.384e-05/0.2053, allocations: 125.8 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.2053, allocations: 29.7 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.2054, allocations: 92.14 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.2054, allocations: 19.73 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.2054, allocations: 0 / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.2055, allocations: 322.8 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.2055, allocations: 27.97 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.2056, allocations: 54.5 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2058, allocations: 78.48 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2058, allocations: 4 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002055/0.206, allocations: 117.5 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.206, allocations: 8 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.206, allocations: 0 / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.206, allocations: 0 / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.2061, allocations: 12 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2062, allocations: 8.047 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.2062, allocations: 11.91 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2062, allocations: 4 kB / 0.9833 GB, free: 23.2 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.56e-05/0.2063, allocations: 121.7 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.2063, allocations: 7.938 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.2064, allocations: 16.36 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2064, allocations: 0 / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2064, allocations: 0 / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2064, allocations: 4 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.2067, allocations: 386.7 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2068, allocations: 0 / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.2068, allocations: 15.92 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2068, allocations: 0 / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2068, allocations: 7.984 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2068, allocations: 4 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2068, allocations: 7.938 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.2071, allocations: 215.5 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.2071, allocations: 81.11 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2071, allocations: 3.984 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.2072, allocations: 12 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.2073, allocations: 11.92 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.2073, allocations: 0 / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.2073, allocations: 95.86 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2073, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002607/0.2076, allocations: 36 kB / 0.9843 GB, free: 22.1 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.0003006/0.2079, allocations: 168.8 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2081, allocations: 71.95 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2081, allocations: 0 / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.2082, allocations: 44.05 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.2085, allocations: 7.984 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.2088, allocations: 201.1 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.2089, allocations: 0.6888 MB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.2089, allocations: 3.984 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.209, allocations: 11.44 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.209, allocations: 0 / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.003347/0.2123, allocations: 1.343 MB / 0.9867 GB, free: 19.53 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)