Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001124/0.001125, allocations: 195.5 kB / 377.1 MB, free: 1.535 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.661/1.661, allocations: 205.4 MB / 0.6367 GB, free: 9.586 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.0008265/0.0008266, allocations: 96.75 kB / 0.751 GB, free: 62.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 12 kB / 0.8748 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3137, allocations: 116.3 MB / 0.9884 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7397/1.054, allocations: 141 MB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.054, allocations: 86.02 kB / 1.126 GB, free: 34.18 MB / 0.7292 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.008448/1.062, allocations: 2.981 MB / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.944e-06/1.062, allocations: 0 / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.333e-06/1.062, allocations: 0 / 1.129 GB, free: 32.03 MB / 0.7292 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.0004631/1.063, allocations: 435.1 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.063, allocations: 8.031 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/1.063, allocations: 7.062 kB / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/1.063, allocations: 174.4 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/1.063, allocations: 0 / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/1.063, allocations: 9.203 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/1.063, allocations: 68.52 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/1.063, allocations: 0 / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.063, allocations: 10.92 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/1.063, allocations: 0 / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/1.063, allocations: 43.06 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/1.064, allocations: 321.1 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/1.064, allocations: 50.09 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/1.064, allocations: 4.078 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/1.064, allocations: 89.23 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/1.064, allocations: 0 / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003754/1.065, allocations: 148.4 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/1.065, allocations: 55.41 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/1.065, allocations: 109.2 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/1.065, allocations: 25.7 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/1.065, allocations: 95.66 kB / 1.131 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/1.065, allocations: 19.8 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/1.065, allocations: 0.6562 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.168e-05/1.065, allocations: 322.3 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/1.065, allocations: 31.52 kB / 1.131 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/1.065, allocations: 54.33 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.925e-05/1.065, allocations: 35.36 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.065, allocations: 4 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000202/1.065, allocations: 117.3 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.065, allocations: 4.75 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.065, allocations: 0 / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.066, allocations: 0 / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/1.066, allocations: 15.52 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.066, allocations: 4.562 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/1.066, allocations: 11.33 kB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/1.066, allocations: 8 kB / 1.131 GB, free: 29.73 MB / 0.7292 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.685e-05/1.066, allocations: 121.7 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/1.066, allocations: 4.656 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/1.066, allocations: 15.89 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.066, allocations: 2.469 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.066, allocations: 4 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.066, allocations: 0 / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/1.066, allocations: 386.8 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.066, allocations: 4.5 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/1.066, allocations: 4.562 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.066, allocations: 0 / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/1.066, allocations: 8.219 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.066, allocations: 0 / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.066, allocations: 0 / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/1.067, allocations: 213.6 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/1.067, allocations: 89.52 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/1.067, allocations: 0 / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/1.067, allocations: 12.06 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/1.067, allocations: 8 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/1.067, allocations: 3.562 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.851e-05/1.067, allocations: 91.36 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.067, allocations: 4.781 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002788/1.067, allocations: 55.89 kB / 1.132 GB, free: 28.7 MB / 0.7292 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.0003699/1.068, allocations: 174.4 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002142/1.068, allocations: 78.56 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.068, allocations: 0 / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/1.068, allocations: 40.14 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/1.068, allocations: 13.94 kB / 1.132 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/1.068, allocations: 198.9 kB / 1.133 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/1.069, allocations: 0.6916 MB / 1.133 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.135e-05/1.069, allocations: 9.5 kB / 1.133 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/1.069, allocations: 11.44 kB / 1.133 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.069, allocations: 3.938 kB / 1.133 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of Templates: time 0.003859/1.073, allocations: 1.517 MB / 1.135 GB, free: 26.67 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)