Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.448/2.448, allocations: 284.8 MB / 297.3 MB, free: 6.348 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.001955/0.001955, allocations: 176.9 kB / 365.7 MB, free: 2.613 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.025/2.025, allocations: 205.1 MB / 0.6241 GB, free: 8.223 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 90.7 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.025e-05, allocations: 8 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8545, allocations: 115.2 MB / 0.97 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.245/1.1, allocations: 139.8 MB / 1.106 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/1.1, allocations: 81.27 kB / 1.107 GB, free: 12.59 MB / 0.7136 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.01525/1.115, allocations: 2.963 MB / 1.109 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/1.115, allocations: 0.9375 kB / 1.109 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.115, allocations: 0 / 1.109 GB, free: 9.652 MB / 0.7136 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.0007536/1.116, allocations: 422.7 kB / 1.11 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.116, allocations: 8.031 kB / 1.11 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/1.116, allocations: 9.562 kB / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/1.116, allocations: 168.9 kB / 1.11 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/1.116, allocations: 7.984 kB / 1.11 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/1.116, allocations: 8 kB / 1.11 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/1.117, allocations: 60.33 kB / 1.11 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.117, allocations: 0 / 1.11 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/1.117, allocations: 3.938 kB / 1.11 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.117, allocations: 0 / 1.11 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/1.117, allocations: 25.02 kB / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008877/1.118, allocations: 315.3 kB / 1.11 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/1.118, allocations: 47.42 kB / 1.11 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/1.118, allocations: 24.98 kB / 1.11 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/1.118, allocations: 5.594 kB / 1.11 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/1.118, allocations: 75.3 kB / 1.111 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.907e-06/1.118, allocations: 1.031 kB / 1.111 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003585/1.119, allocations: 89.67 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/1.119, allocations: 59.36 kB / 1.111 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/1.119, allocations: 117 kB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/1.119, allocations: 34.45 kB / 1.111 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/1.119, allocations: 90.17 kB / 1.111 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/1.119, allocations: 27.8 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/1.119, allocations: 0.6562 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.119, allocations: 314.8 kB / 1.111 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.549e-05/1.119, allocations: 24.45 kB / 1.111 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/1.119, allocations: 46.58 kB / 1.111 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.23e-05/1.12, allocations: 21.55 kB / 1.111 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.12, allocations: 0 / 1.111 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002758/1.12, allocations: 97.52 kB / 1.111 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.12, allocations: 10.44 kB / 1.111 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.12, allocations: 0 / 1.111 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.12, allocations: 2.062 kB / 1.111 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/1.12, allocations: 16.06 kB / 1.111 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.12, allocations: 3.984 kB / 1.111 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/1.12, allocations: 11.95 kB / 1.111 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/1.12, allocations: 4 kB / 1.111 GB, free: 7.34 MB / 0.7136 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 () * 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.12, allocations: 112.9 kB / 1.112 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/1.12, allocations: 7.906 kB / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/1.121, allocations: 8.609 kB / 1.112 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/1.121, allocations: 4 kB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.121, allocations: 0 / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.121, allocations: 4 kB / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/1.121, allocations: 372.2 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.121, allocations: 0 / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/1.121, allocations: 4 kB / 1.112 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.121, allocations: 3 kB / 1.112 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.121, allocations: 0 / 1.112 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.121, allocations: 4 kB / 1.112 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/1.121, allocations: 13.31 kB / 1.112 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/1.122, allocations: 191.4 kB / 1.112 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/1.122, allocations: 81.11 kB / 1.112 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/1.122, allocations: 0 / 1.112 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/1.122, allocations: 7.984 kB / 1.112 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/1.122, allocations: 7.953 kB / 1.112 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/1.122, allocations: 15.92 kB / 1.112 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.667e-05/1.122, allocations: 91.28 kB / 1.112 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.122, allocations: 0 / 1.112 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004488/1.123, allocations: 51.92 kB / 1.112 GB, free: 6.289 MB / 0.7136 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 () * 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.0005081/1.123, allocations: 167.8 kB / 1.113 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002632/1.123, allocations: 63.92 kB / 1.113 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.124, allocations: 0 / 1.113 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/1.124, allocations: 27.98 kB / 1.113 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/1.124, allocations: 10.06 kB / 1.113 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/1.124, allocations: 103.8 kB / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/1.125, allocations: 0.6916 MB / 1.113 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.418e-05/1.125, allocations: 9.562 kB / 1.113 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/1.125, allocations: 19.36 kB / 1.113 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/1.125, allocations: 3.938 kB / 1.113 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of Templates: time 0.006429/1.131, allocations: 1.528 MB / 1.115 GB, free: 3.684 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)