Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.744/2.744, allocations: 287.5 MB / 302.4 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 179.5 kB / 371 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.001099, allocations: 90.84 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006859/0.0006859, allocations: 12.05 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2457, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9196/1.165, allocations: 139.8 MB / 1.115 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.166, allocations: 85.14 kB / 1.115 GB, free: 15.66 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0129/1.179, allocations: 2.979 MB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.384e-06/1.179, allocations: 3.844 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.179, allocations: 0 / 1.118 GB, free: 31.21 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.0006373/1.179, allocations: 421.9 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.179, allocations: 14.27 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/1.179, allocations: 3.812 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/1.18, allocations: 170.9 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/1.18, allocations: 7.844 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/1.18, allocations: 9.875 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/1.18, allocations: 69.89 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.18, allocations: 7.812 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.18, allocations: 0 / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/1.18, allocations: 0 / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/1.18, allocations: 46.16 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007673/1.181, allocations: 318.1 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/1.181, allocations: 53.02 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/1.181, allocations: 0 / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/1.181, allocations: 83.16 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/1.181, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005761/1.182, allocations: 151.4 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/1.182, allocations: 59.27 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.182, allocations: 112.7 kB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.182, allocations: 29.14 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/1.182, allocations: 92.41 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/1.182, allocations: 16.89 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/1.182, allocations: 3.312 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.183, allocations: 317 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.183, allocations: 30.7 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/1.183, allocations: 54.86 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/1.183, allocations: 33.95 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.183, allocations: 0 / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003566/1.183, allocations: 124 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.183, allocations: 3.844 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.183, allocations: 1.688 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.183, allocations: 3.844 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/1.184, allocations: 13.89 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.184, allocations: 3.844 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/1.184, allocations: 16.69 kB / 1.12 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/1.184, allocations: 8.031 kB / 1.12 GB, free: 29.46 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 0.0001092/1.184, allocations: 114 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/1.184, allocations: 7.094 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/1.184, allocations: 5.781 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.184, allocations: 0 / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.184, allocations: 3.938 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.184, allocations: 1.5 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/1.185, allocations: 392.8 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.185, allocations: 0.875 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/1.185, allocations: 6.797 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/1.185, allocations: 0 / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/1.185, allocations: 3.5 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.185, allocations: 3.844 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.185, allocations: 3.953 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/1.185, allocations: 215.5 kB / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/1.185, allocations: 91.7 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/1.185, allocations: 3.25 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/1.185, allocations: 3.812 kB / 1.121 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/1.185, allocations: 10.86 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.185, allocations: 10.89 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.185e-05/1.186, allocations: 96.83 kB / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.186, allocations: 0 / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004479/1.186, allocations: 46.38 kB / 1.121 GB, free: 28.7 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.0004676/1.186, allocations: 175.3 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003406/1.187, allocations: 82.16 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.187, allocations: 0 / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/1.187, allocations: 37.36 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/1.187, allocations: 4 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/1.188, allocations: 206.8 kB / 1.122 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/1.188, allocations: 0.6937 MB / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.063e-05/1.188, allocations: 11.31 kB / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/1.188, allocations: 11.38 kB / 1.122 GB, free: 27.72 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/1.188, allocations: 0 / 1.122 GB, free: 27.72 MB / 0.698 GB Notification: Performance of Templates: time 0.005152/1.193, allocations: 1.517 MB / 1.124 GB, free: 27.59 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)