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.608/1.608, allocations: 288.4 MB / 304.3 MB, free: 8.043 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.0009118/0.0009119, allocations: 188.5 kB / 373 MB, free: 10.17 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.367/1.367, allocations: 205.4 MB / 0.6317 GB, free: 9.926 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.0008064/0.0008065, allocations: 95.94 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 11.03 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2267, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6837/0.9105, allocations: 140.1 MB / 1.117 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.9108, allocations: 84.19 kB / 1.118 GB, free: 16.25 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008338/0.9192, allocations: 3 MB / 1.12 GB, free: 31.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9192, allocations: 0 / 1.12 GB, free: 31.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.9192, allocations: 0 / 1.12 GB, free: 31.8 MB / 0.698 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.0004952/0.9197, allocations: 422.4 kB / 1.121 GB, free: 31.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9198, allocations: 11.53 kB / 1.121 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.9198, allocations: 8.719 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.9199, allocations: 167.9 kB / 1.121 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.92, allocations: 10.81 kB / 1.121 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.92, allocations: 8.188 kB / 1.121 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.9202, allocations: 72.86 kB / 1.121 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.9202, allocations: 192 / 1.121 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.9202, allocations: 7.938 kB / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.9202, allocations: 0 / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.9204, allocations: 44.12 kB / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.9209, allocations: 320.5 kB / 1.122 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.9211, allocations: 51.28 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.9211, allocations: 38.36 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.9212, allocations: 3.75 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.9213, allocations: 82.09 kB / 1.122 GB, free: 30.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.9213, allocations: 0 / 1.122 GB, free: 30.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003511/0.9217, allocations: 148.9 kB / 1.122 GB, free: 30.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.9217, allocations: 55.41 kB / 1.122 GB, free: 30.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.9218, allocations: 118.6 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.9219, allocations: 29.64 kB / 1.122 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.9219, allocations: 90.83 kB / 1.122 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.9219, allocations: 18.77 kB / 1.122 GB, free: 30.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.9219, allocations: 0 / 1.122 GB, free: 30.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.922, allocations: 321.6 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.9221, allocations: 34.03 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.9222, allocations: 56.22 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.9224, allocations: 75 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9224, allocations: 3.875 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001998/0.9226, allocations: 114.4 kB / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.9226, allocations: 7.688 kB / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9226, allocations: 0 / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.9226, allocations: 0 / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.9228, allocations: 25.44 kB / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9228, allocations: 4.062 kB / 1.123 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.9228, allocations: 6.844 kB / 1.123 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.9229, allocations: 3.844 kB / 1.123 GB, free: 30.01 MB / 0.698 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 (occ.y,$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.637e-05/0.9229, allocations: 121.4 kB / 1.123 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.923, allocations: 10.78 kB / 1.123 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.923, allocations: 8.25 kB / 1.123 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.923, allocations: 4 kB / 1.123 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.923, allocations: 0 / 1.123 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.923, allocations: 3.984 kB / 1.123 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.9234, allocations: 385 kB / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9234, allocations: 0 / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.9235, allocations: 10.55 kB / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.9235, allocations: 4 kB / 1.123 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.9235, allocations: 11.75 kB / 1.123 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.9235, allocations: 0 / 1.123 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9235, allocations: 3.375 kB / 1.123 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.9237, allocations: 219.2 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.9238, allocations: 92.67 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.9238, allocations: 2.906 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.9239, allocations: 3.875 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.9239, allocations: 10.95 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.9239, allocations: 0 / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.924, allocations: 101.9 kB / 1.124 GB, free: 29.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.924, allocations: 3.938 kB / 1.124 GB, free: 29.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002868/0.9243, allocations: 42.66 kB / 1.124 GB, free: 29.23 MB / 0.698 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,occ.y,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.0003219/0.9246, allocations: 171.3 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.9248, allocations: 74.34 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.9248, allocations: 0 / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.583e-05/0.9249, allocations: 39.7 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.9252, allocations: 18.81 kB / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.9255, allocations: 191 kB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.9258, allocations: 0.6939 MB / 1.125 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.9258, allocations: 2.672 kB / 1.125 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.9258, allocations: 11.34 kB / 1.125 GB, free: 28.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.9258, allocations: 0 / 1.125 GB, free: 28.26 MB / 0.698 GB Notification: Performance of Templates: time 0.003686/0.9295, allocations: 1.527 MB / 1.126 GB, free: 28.13 MB / 0.698 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)