Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 293.1 MB / 309 MB, free: 4.746 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.001182/0.001182, allocations: 171.6 kB / 378.7 MB, free: 1 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.354/1.354, allocations: 205.4 MB / 0.6383 GB, free: 9.074 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.0009053/0.0009053, allocations: 91.53 kB / 0.7527 GB, free: 62.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 16 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2167, allocations: 116.4 MB / 0.9904 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.586/0.8028, allocations: 141.1 MB / 1.128 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.803, allocations: 88.55 kB / 1.128 GB, free: 33.16 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.007741/0.8108, allocations: 2.993 MB / 1.131 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8108, allocations: 2.938 kB / 1.131 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8108, allocations: 0 / 1.131 GB, free: 31.02 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.0003976/0.8112, allocations: 429.2 kB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.8113, allocations: 8.031 kB / 1.132 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.8113, allocations: 4.938 kB / 1.132 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.703e-05/0.8114, allocations: 179.8 kB / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.8114, allocations: 4.375 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.8114, allocations: 8.375 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.8116, allocations: 68 kB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8116, allocations: 0.875 kB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.8116, allocations: 5.344 kB / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.8116, allocations: 4 kB / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.8118, allocations: 43.08 kB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.8123, allocations: 324.5 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.8124, allocations: 57.41 kB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.8125, allocations: 32.59 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.8125, allocations: 4 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.8126, allocations: 83.84 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.8126, allocations: 0 / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003434/0.813, allocations: 143.3 kB / 1.133 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.813, allocations: 62.78 kB / 1.133 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.8131, allocations: 117.4 kB / 1.133 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.8131, allocations: 29.7 kB / 1.133 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.8132, allocations: 91.48 kB / 1.133 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.8132, allocations: 15.81 kB / 1.133 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.8132, allocations: 4 kB / 1.133 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.8133, allocations: 322.8 kB / 1.133 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.8133, allocations: 27.38 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.8134, allocations: 58.47 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.8136, allocations: 78.19 kB / 1.133 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8136, allocations: 0 / 1.133 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000197/0.8138, allocations: 123.3 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.8138, allocations: 8 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.8138, allocations: 0.75 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8138, allocations: 0 / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.8139, allocations: 19.36 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8139, allocations: 1.25 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.814, allocations: 8.562 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.814, allocations: 8 kB / 1.133 GB, free: 28.61 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.327e-05/0.8141, allocations: 123.6 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.8141, allocations: 7.906 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.8141, allocations: 5.031 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8141, allocations: 4 kB / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8142, allocations: 0.625 kB / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.8142, allocations: 0 / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.8145, allocations: 389.9 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8145, allocations: 0 / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.8146, allocations: 7.969 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8146, allocations: 4.562 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.8146, allocations: 0 / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8146, allocations: 0 / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8146, allocations: 4.5 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.8148, allocations: 225.4 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.8149, allocations: 88.05 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.8149, allocations: 4.75 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.815, allocations: 9.062 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.815, allocations: 7.078 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.815, allocations: 11.28 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.8151, allocations: 95.91 kB / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8151, allocations: 0 / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002751/0.8154, allocations: 48 kB / 1.134 GB, free: 27.56 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.0003245/0.8157, allocations: 172.3 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.8159, allocations: 78.02 kB / 1.135 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8159, allocations: 0 / 1.135 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.331e-05/0.816, allocations: 35.97 kB / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.8163, allocations: 15.95 kB / 1.135 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.8166, allocations: 198.1 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.8167, allocations: 0.6875 MB / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.8168, allocations: 13.66 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.8168, allocations: 7.438 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.8168, allocations: 3.938 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.00374/0.8205, allocations: 1.5 MB / 1.137 GB, free: 25.55 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)