Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.808/1.808, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001088, allocations: 176.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 0.6626 GB, free: 4.234 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008395/0.0008397, allocations: 94.45 kB / 0.7808 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.000471, allocations: 12.91 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8163, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/1.023, allocations: 143.2 MB / 1.166 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.023, allocations: 81.78 kB / 1.166 GB, free: 0.668 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01014/1.033, allocations: 3.039 MB / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.064e-06/1.033, allocations: 3.938 kB / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.728e-06/1.033, allocations: 1.469 kB / 1.169 GB, free: 14.49 MB / 0.7448 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.0007266/1.034, allocations: 421.2 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/1.034, allocations: 8.734 kB / 1.17 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/1.034, allocations: 8.844 kB / 1.17 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/1.034, allocations: 174.8 kB / 1.17 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/1.034, allocations: 8.375 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/1.034, allocations: 4.375 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/1.035, allocations: 69.41 kB / 1.17 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.035, allocations: 1.078 kB / 1.17 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/1.035, allocations: 8.5 kB / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.035, allocations: 0 / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/1.035, allocations: 48.95 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/1.036, allocations: 319.9 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/1.036, allocations: 54.5 kB / 1.17 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.115e-05/1.036, allocations: 33.97 kB / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/1.036, allocations: 1.781 kB / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/1.036, allocations: 86.77 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/1.036, allocations: 0 / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004307/1.037, allocations: 140.4 kB / 1.171 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/1.037, allocations: 56.62 kB / 1.171 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/1.037, allocations: 126.8 kB / 1.171 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/1.037, allocations: 34.73 kB / 1.171 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/1.037, allocations: 90.3 kB / 1.171 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/1.037, allocations: 17.31 kB / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/1.037, allocations: 0.5312 kB / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.037, allocations: 326.3 kB / 1.171 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/1.037, allocations: 26.05 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/1.037, allocations: 58.31 kB / 1.171 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/1.037, allocations: 76.97 kB / 1.171 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.037, allocations: 1.375 kB / 1.171 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003051/1.038, allocations: 114.6 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.038, allocations: 9.281 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.038, allocations: 1.125 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.038, allocations: 1.125 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/1.038, allocations: 18.98 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.038, allocations: 2.031 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/1.038, allocations: 9.922 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/1.038, allocations: 4.656 kB / 1.171 GB, free: 12.12 MB / 0.7448 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.0001102/1.038, allocations: 124.4 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/1.038, allocations: 9.531 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/1.038, allocations: 9.547 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.038, allocations: 4 kB / 1.172 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.038, allocations: 1.031 kB / 1.172 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.038, allocations: 0.5625 kB / 1.172 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/1.039, allocations: 391.1 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.039, allocations: 0.5312 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/1.039, allocations: 8.312 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/1.039, allocations: 4 kB / 1.172 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.039, allocations: 2.344 kB / 1.172 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.039, allocations: 3.938 kB / 1.172 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.039, allocations: 0.7031 kB / 1.172 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/1.039, allocations: 228.1 kB / 1.172 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/1.039, allocations: 81.81 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/1.039, allocations: 10 kB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/1.039, allocations: 5.969 kB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/1.04, allocations: 6.094 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.04, allocations: 5.547 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.221e-05/1.04, allocations: 91.45 kB / 1.172 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/1.04, allocations: 0 / 1.172 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003904/1.04, allocations: 46.16 kB / 1.172 GB, free: 11.09 MB / 0.7448 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.0004947/1.041, allocations: 177.7 kB / 1.173 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002643/1.041, allocations: 75.66 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.041, allocations: 4.125 kB / 1.173 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/1.041, allocations: 41.06 kB / 1.173 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/1.041, allocations: 2.203 kB / 1.173 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/1.042, allocations: 210 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/1.042, allocations: 0.6871 MB / 1.174 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.901e-05/1.042, allocations: 1.359 kB / 1.174 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/1.042, allocations: 16.66 kB / 1.174 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.042, allocations: 0 / 1.174 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.004957/1.047, allocations: 1.516 MB / 1.175 GB, free: 9.07 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)