Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.52/3.52, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002383, allocations: 184.6 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.855/3.855, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 98.23 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007732/0.0007734, allocations: 9.844 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3309, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.6639, allocations: 133.5 MB / 1.03 GB, free: 11.82 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/0.6644, allocations: 91.92 kB / 1.03 GB, free: 11.73 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01726/0.6817, allocations: 3.004 MB / 1.033 GB, free: 8.719 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6817, allocations: 0 / 1.033 GB, free: 8.719 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.6818, allocations: 0 / 1.033 GB, free: 8.719 MB / 0.6824 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.0008729/0.6826, allocations: 428.9 kB / 1.033 GB, free: 8.242 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6827, allocations: 12.03 kB / 1.033 GB, free: 8.23 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.6828, allocations: 8.844 kB / 1.033 GB, free: 8.223 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.683, allocations: 172.3 kB / 1.033 GB, free: 8.016 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.683, allocations: 4.375 kB / 1.034 GB, free: 8.012 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.6831, allocations: 4.375 kB / 1.034 GB, free: 8.008 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.6834, allocations: 74.14 kB / 1.034 GB, free: 7.93 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6834, allocations: 4.188 kB / 1.034 GB, free: 7.926 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.6835, allocations: 11.94 kB / 1.034 GB, free: 7.914 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6835, allocations: 3.938 kB / 1.034 GB, free: 7.91 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.6837, allocations: 39.97 kB / 1.034 GB, free: 7.871 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.6848, allocations: 316.7 kB / 1.034 GB, free: 7.512 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.6851, allocations: 62.42 kB / 1.034 GB, free: 7.441 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.6853, allocations: 40.91 kB / 1.034 GB, free: 7.398 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.6853, allocations: 0 / 1.034 GB, free: 7.398 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.6856, allocations: 79.38 kB / 1.034 GB, free: 7.309 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.6857, allocations: 0 / 1.034 GB, free: 7.309 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7): time 0.0007393/0.6864, allocations: 153.5 kB / 1.034 GB, free: 7.152 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.6865, allocations: 55.41 kB / 1.034 GB, free: 7.086 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.6867, allocations: 121.8 kB / 1.034 GB, free: 6.957 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.6867, allocations: 29.7 kB / 1.034 GB, free: 6.922 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.6868, allocations: 88.14 kB / 1.035 GB, free: 6.832 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.6869, allocations: 15.8 kB / 1.035 GB, free: 6.816 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/0.6869, allocations: 4 kB / 1.035 GB, free: 6.812 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6871, allocations: 318.8 kB / 1.035 GB, free: 6.492 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.6872, allocations: 27.98 kB / 1.035 GB, free: 6.465 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.6875, allocations: 50.55 kB / 1.035 GB, free: 6.406 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.6877, allocations: 35.98 kB / 1.035 GB, free: 6.371 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.6877, allocations: 0 / 1.035 GB, free: 6.371 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004979/0.6882, allocations: 129.5 kB / 1.035 GB, free: 6.238 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.6882, allocations: 5.562 kB / 1.035 GB, free: 6.234 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.6883, allocations: 0 / 1.035 GB, free: 6.234 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.6883, allocations: 0 / 1.035 GB, free: 6.234 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.6885, allocations: 19.92 kB / 1.035 GB, free: 6.215 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.6885, allocations: 0 / 1.035 GB, free: 6.215 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.6886, allocations: 8.062 kB / 1.035 GB, free: 6.207 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.6887, allocations: 7.938 kB / 1.035 GB, free: 6.199 MB / 0.6824 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.0001743/0.6889, allocations: 117.8 kB / 1.035 GB, free: 6.074 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.6889, allocations: 7.906 kB / 1.035 GB, free: 6.066 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.689, allocations: 16.36 kB / 1.035 GB, free: 6.051 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.689, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.689, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.689, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009288/0.69, allocations: 390.4 kB / 1.036 GB, free: 5.613 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.69, allocations: 8 kB / 1.036 GB, free: 5.605 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.6901, allocations: 4 kB / 1.036 GB, free: 5.602 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6901, allocations: 0 / 1.036 GB, free: 5.602 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.6901, allocations: 3.984 kB / 1.036 GB, free: 5.598 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6902, allocations: 480 / 1.036 GB, free: 5.598 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6902, allocations: 4 kB / 1.036 GB, free: 5.594 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.6907, allocations: 223.3 kB / 1.036 GB, free: 5.359 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.6908, allocations: 88.95 kB / 1.036 GB, free: 5.254 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.6909, allocations: 3.984 kB / 1.036 GB, free: 5.25 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.6911, allocations: 8 kB / 1.036 GB, free: 5.242 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.6912, allocations: 11.92 kB / 1.036 GB, free: 5.23 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.6912, allocations: 3.938 kB / 1.036 GB, free: 5.227 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 9.47e-05/0.6913, allocations: 91.27 kB / 1.036 GB, free: 5.137 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6913, allocations: 0 / 1.036 GB, free: 5.137 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0006529/0.692, allocations: 51.94 kB / 1.036 GB, free: 5.086 MB / 0.6824 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.0006167/0.6926, allocations: 170.4 kB / 1.036 GB, free: 4.926 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.6931, allocations: 75.91 kB / 1.036 GB, free: 4.852 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6931, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.6934, allocations: 36.11 kB / 1.036 GB, free: 4.816 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.6939, allocations: 18.03 kB / 1.036 GB, free: 4.801 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007541/0.6946, allocations: 205.1 kB / 1.037 GB, free: 4.562 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.6951, allocations: 0.6926 MB / 1.037 GB, free: 3.844 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 7.419e-05/0.6952, allocations: 0 / 1.037 GB, free: 3.844 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.6952, allocations: 11.44 kB / 1.037 GB, free: 3.836 MB / 0.6824 GB Notification: Performance of SimCode: time 1.242e-06/0.6953, allocations: 0 / 1.037 GB, free: 3.836 MB / 0.6824 GB Notification: Performance of Templates: time 0.007401/0.7027, allocations: 1.522 MB / 1.039 GB, free: 2.316 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)