Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.3 MB / 303.2 MB, free: 8.199 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.001352/0.001352, allocations: 187.8 kB / 371.9 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.681/1.681, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001158/0.001158, allocations: 95.28 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.000512, allocations: 14.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2826, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001866/0.2846, allocations: 1.191 MB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2861, allocations: 0.7267 MB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.2862, allocations: 0 / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.2863, allocations: 3.938 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.505e-05/0.2864, allocations: 15.98 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.2871, allocations: 87.77 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.2872, allocations: 43.88 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2873, allocations: 15.98 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.2875, allocations: 27.91 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2876, allocations: 31.89 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2876, allocations: 7.938 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.2879, allocations: 71.88 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.2879, allocations: 15.97 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.288, allocations: 33.64 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.2882, allocations: 100 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2882, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2882, allocations: 0 / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2882, 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.0007869/0.289, allocations: 404.8 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.2891, allocations: 16.03 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.2892, allocations: 3.906 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2893, allocations: 174.9 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.2893, allocations: 8 kB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.2894, allocations: 11.92 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.2896, allocations: 69.64 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2896, allocations: 0 / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2896, allocations: 0 / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2896, allocations: 8 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2898, allocations: 43.97 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.2904, allocations: 316.7 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2906, allocations: 58.48 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2906, allocations: 4 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.2908, allocations: 79.48 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.2908, allocations: 4 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003993/0.2912, allocations: 149.6 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2913, allocations: 59.34 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.2913, allocations: 125.7 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2914, allocations: 29.7 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.2914, allocations: 96.31 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.2914, allocations: 11.75 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.2915, allocations: 4 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.2915, allocations: 326.8 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.2916, allocations: 23.98 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.2917, allocations: 50.56 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.2918, allocations: 35.98 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2918, allocations: 0 / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002094/0.292, allocations: 121.5 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.292, allocations: 11.94 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2921, allocations: 0 / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2921, allocations: 4 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.2922, allocations: 23.92 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2922, allocations: 0 / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.2923, allocations: 7.953 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2923, 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 8.907e-05/0.2924, allocations: 121.9 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.2924, allocations: 7.906 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.2925, allocations: 8.375 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2925, allocations: 4 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2925, allocations: 0 / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2925, allocations: 0 / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.2929, allocations: 390.4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2929, allocations: 0 / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.293, allocations: 11.98 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.293, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.293, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.293, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.293, allocations: 3.953 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.2933, allocations: 223.3 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.2933, allocations: 85.02 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.2933, allocations: 4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.2934, allocations: 4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.2935, allocations: 11.94 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2935, allocations: 0 / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.2936, allocations: 95.27 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2936, allocations: 0 / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003043/0.2939, 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.0004059/0.2943, allocations: 166.9 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.2945, allocations: 79.89 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2945, allocations: 0 / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.2946, allocations: 39.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.0001854/0.2948, allocations: 9.859 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.0003908/0.2952, allocations: 206.4 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2954, allocations: 0.6887 MB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.2954, 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.533e-05/0.2954, allocations: 11.44 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.2954, allocations: 4 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.003928/0.2994, allocations: 1.333 MB / 0.9874 GB, free: 19.19 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)