Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.824/1.824, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001099/0.001099, allocations: 177 kB / 371.8 MB, free: 10.3 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.837/1.837, allocations: 205.4 MB / 0.6306 GB, free: 10.06 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.0009093/0.0009096, allocations: 97.62 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004447, allocations: 15.66 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2774, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001587/0.2791, allocations: 1.195 MB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2802, allocations: 0.715 MB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.2802, allocations: 0 / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.872e-05/0.2803, allocations: 3.938 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.2803, allocations: 19.97 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.2808, allocations: 91.75 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.2809, allocations: 39.89 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.281, allocations: 15.98 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.2811, allocations: 27.91 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.2811, allocations: 31.91 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2812, allocations: 7.938 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2813, allocations: 71.86 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.2813, allocations: 11.98 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.2814, allocations: 41.58 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2816, allocations: 100 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2816, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2816, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2816, allocations: 0 / 0.9817 GB, free: 25.32 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.0005903/0.2822, allocations: 404.8 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2822, allocations: 12.03 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.2823, allocations: 7.906 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2824, allocations: 178.9 kB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.2824, allocations: 8 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.2824, allocations: 11.94 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2826, allocations: 65.66 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2827, allocations: 0 / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2827, allocations: 4 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2827, allocations: 8 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2828, allocations: 39.97 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.2834, allocations: 324.7 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.2835, allocations: 50.5 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2835, allocations: 7.984 kB / 0.9828 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.2837, allocations: 71.52 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.2837, allocations: 4 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003828/0.2841, allocations: 153.6 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.2842, allocations: 55.36 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.2843, allocations: 125.7 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2843, allocations: 29.7 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.2843, allocations: 96.31 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2843, allocations: 15.75 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.2844, allocations: 0 / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.2844, allocations: 322.8 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.2845, allocations: 23.98 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.242e-05/0.2846, allocations: 54.55 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.874e-05/0.2847, allocations: 32 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2847, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002007/0.2849, allocations: 125.8 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2849, allocations: 8 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2849, allocations: 3.938 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.285, allocations: 0 / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.2851, allocations: 19.92 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2851, allocations: 0 / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.2851, allocations: 11.94 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.2852, allocations: 4 kB / 0.9839 GB, free: 22.85 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 7.354e-05/0.2852, allocations: 117.9 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.2853, allocations: 11.84 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.2853, allocations: 8.375 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2853, allocations: 4 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2853, allocations: 0 / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2853, allocations: 3.984 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.2857, allocations: 390.4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2857, allocations: 0 / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.2857, allocations: 11.98 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2857, allocations: 3.984 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2858, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2858, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2858, allocations: 3.953 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.286, allocations: 227.3 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.286, allocations: 85.02 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.2861, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.2862, allocations: 7.984 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.2862, allocations: 7.953 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.2862, allocations: 3.984 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.2863, allocations: 91.28 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2863, allocations: 0 / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002842/0.2866, allocations: 39.98 kB / 0.9849 GB, free: 21.76 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.0003446/0.2869, allocations: 169.3 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.2871, allocations: 83.89 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2872, allocations: 0 / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.2872, allocations: 35.98 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.2874, allocations: 4 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.2878, allocations: 205.2 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.288, allocations: 0.6887 MB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.2881, allocations: 8.172 kB / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.2881, allocations: 11.44 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2881, allocations: 4 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.003754/0.2919, allocations: 1.339 MB / 0.9874 GB, free: 19.19 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)