Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 293 MB / 309 MB, free: 4.824 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.001066/0.001066, allocations: 176.5 kB / 378.7 MB, free: 1.016 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.567/1.567, allocations: 205.4 MB / 0.6383 GB, free: 9.082 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.000867/0.0008671, allocations: 92.23 kB / 0.7527 GB, free: 62.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2247, allocations: 116.4 MB / 0.9904 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5582/0.7829, allocations: 141.1 MB / 1.128 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.7832, allocations: 79.27 kB / 1.128 GB, free: 33.21 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.00798/0.7912, allocations: 3.004 MB / 1.131 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7912, allocations: 0 / 1.131 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.7913, allocations: 0 / 1.131 GB, free: 31.05 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.0004356/0.7917, allocations: 426 kB / 1.132 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7917, allocations: 15.5 kB / 1.132 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.7918, allocations: 4.938 kB / 1.132 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.765e-05/0.7919, allocations: 172.2 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.7919, allocations: 4.375 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.7919, allocations: 4.375 kB / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.7921, allocations: 73.84 kB / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7921, allocations: 192 / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.7921, allocations: 3.938 kB / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7922, allocations: 8 kB / 1.132 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.7923, allocations: 38.8 kB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.7928, allocations: 331.6 kB / 1.132 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.7929, allocations: 50.44 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.793, allocations: 32.41 kB / 1.132 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.793, allocations: 4 kB / 1.132 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.7932, allocations: 85.61 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.255e-06/0.7932, allocations: 1.5 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003372/0.7935, allocations: 143.6 kB / 1.133 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.7936, allocations: 59.47 kB / 1.133 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.7936, allocations: 129 kB / 1.133 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.7937, allocations: 25.7 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.7937, allocations: 84.14 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.7937, allocations: 19.28 kB / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.7937, allocations: 0 / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.7938, allocations: 322.8 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.7939, allocations: 31.08 kB / 1.133 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.794, allocations: 53.98 kB / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.7941, allocations: 82.12 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7941, allocations: 0.5625 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002069/0.7943, allocations: 119.3 kB / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7943, allocations: 8 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.7944, allocations: 0.6875 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.7944, allocations: 0 / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.7945, allocations: 15.2 kB / 1.133 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7945, allocations: 9.625 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.7945, allocations: 4 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.7946, allocations: 7.375 kB / 1.133 GB, free: 28.65 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 6.463e-05/0.7946, allocations: 118.3 kB / 1.134 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.7947, allocations: 12.66 kB / 1.134 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.7947, allocations: 4.375 kB / 1.134 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7947, allocations: 4 kB / 1.134 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7947, allocations: 4 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7947, allocations: 4.078 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.7951, allocations: 382.9 kB / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7951, allocations: 1.312 kB / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.7951, allocations: 7.516 kB / 1.134 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.7951, allocations: 5.125 kB / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.7952, allocations: 4 kB / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7952, allocations: 0.5625 kB / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7952, allocations: 0 / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.7954, allocations: 222.5 kB / 1.134 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.7954, allocations: 88.56 kB / 1.134 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.7955, allocations: 8 kB / 1.134 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.7955, allocations: 7.938 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.7956, allocations: 8.812 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.7956, allocations: 4 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.7957, allocations: 99.67 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7957, allocations: 0 / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002956/0.796, allocations: 43.52 kB / 1.134 GB, free: 27.61 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.000337/0.7963, allocations: 177.5 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.7965, allocations: 80 kB / 1.135 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7966, allocations: 0 / 1.135 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.7966, allocations: 43.02 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.7969, allocations: 5.312 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.7972, allocations: 202.4 kB / 1.135 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.7974, allocations: 0.6915 MB / 1.136 GB, free: 26.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.082e-05/0.7974, allocations: 9.609 kB / 1.136 GB, free: 26.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.7974, allocations: 7.438 kB / 1.136 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.7975, allocations: 3.938 kB / 1.136 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.003928/0.8014, allocations: 1.505 MB / 1.137 GB, free: 25.6 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)