Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.0009412/0.0009412, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.441/1.441, allocations: 205.3 MB / 0.626 GB, free: 7.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007913/0.0007913, allocations: 99.16 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.366e-05/1.369e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.5612, allocations: 116.3 MB / 0.9732 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.7337, allocations: 140.2 MB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.734, allocations: 87.92 kB / 1.11 GB, free: 9.871 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008697/0.7427, allocations: 2.948 MB / 1.113 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7427, allocations: 0 / 1.113 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.7428, allocations: 0.7812 kB / 1.113 GB, free: 6.945 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.0004419/0.7432, allocations: 417.3 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7432, allocations: 8.031 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.7433, allocations: 16.59 kB / 1.114 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.7434, allocations: 171 kB / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.7434, allocations: 0.8438 kB / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.7435, allocations: 4 kB / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.371e-05/0.7435, allocations: 20.53 kB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.925e-05/0.7436, allocations: 62.94 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.7437, allocations: 0 / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7437, allocations: 0.75 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7437, allocations: 3.984 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.7442, allocations: 284 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.7443, allocations: 49.31 kB / 1.114 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.7444, allocations: 20.98 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.7444, allocations: 4 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.7445, allocations: 73.52 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.7445, allocations: 0 / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002224/0.7447, allocations: 97.02 kB / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.7448, allocations: 51.41 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.7449, allocations: 119.5 kB / 1.115 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.7449, allocations: 30.27 kB / 1.115 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.7449, allocations: 91.73 kB / 1.115 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.745, allocations: 23.73 kB / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.745, allocations: 0 / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7451, allocations: 318.8 kB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.706e-05/0.7451, allocations: 16 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.7452, allocations: 38.56 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.892e-05/0.7452, allocations: 29.94 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7453, allocations: 0 / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000162/0.7454, allocations: 85.53 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.7454, allocations: 5.094 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.7454, allocations: 0 / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.7455, allocations: 4 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.7456, allocations: 11.98 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.7456, allocations: 0 / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.7456, allocations: 14.61 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.7457, allocations: 4 kB / 1.115 GB, free: 4.723 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 7.458e-05/0.7457, allocations: 112.9 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.7458, allocations: 7.906 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.7458, allocations: 12.69 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.7458, allocations: 0 / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7458, allocations: 7.438 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7458, allocations: 3.984 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.7461, allocations: 331.1 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7462, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.7462, allocations: 11.92 kB / 1.116 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7462, allocations: 0 / 1.116 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.7462, allocations: 4 kB / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7462, allocations: 4 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7462, allocations: 0 / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.7464, allocations: 201.6 kB / 1.116 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.7465, allocations: 77.11 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.7465, allocations: 9.391 kB / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.7466, allocations: 4 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.7466, allocations: 3.984 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.7467, allocations: 8 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.7467, allocations: 92.92 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7467, allocations: 0 / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002887/0.747, allocations: 43.92 kB / 1.116 GB, free: 3.734 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.0003248/0.7473, allocations: 173.6 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.7475, allocations: 51.98 kB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7475, allocations: 0 / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.022e-05/0.7475, allocations: 27.94 kB / 1.116 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.7477, allocations: 7.953 kB / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.748, allocations: 96.44 kB / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.7482, allocations: 0.6972 MB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.7483, allocations: 9.422 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.7483, allocations: 7.438 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of SimCode: time 2.535e-06/0.7483, allocations: 0 / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.003613/0.7519, allocations: 1.508 MB / 1.119 GB, free: 1.164 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)