Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.65/2.65, allocations: 287.5 MB / 303.2 MB, free: 8.117 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.001781/0.00178, allocations: 185.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008732/0.0008731, allocations: 101 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006448/0.000645, allocations: 16.02 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2113, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9315/1.143, allocations: 139.9 MB / 1.116 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.143, allocations: 86.92 kB / 1.116 GB, free: 15.83 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01339/1.157, allocations: 3.002 MB / 1.119 GB, free: 31.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.875e-06/1.157, allocations: 0 / 1.119 GB, free: 31.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.819e-06/1.157, allocations: 0 / 1.119 GB, free: 31.38 MB / 0.698 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.0007888/1.158, allocations: 418.7 kB / 1.119 GB, free: 30.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.158, allocations: 11.53 kB / 1.119 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/1.158, allocations: 11.53 kB / 1.119 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/1.158, allocations: 174.7 kB / 1.119 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/1.158, allocations: 4.312 kB / 1.119 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/1.158, allocations: 4.188 kB / 1.119 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/1.158, allocations: 73.08 kB / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.158, allocations: 192 / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.158, allocations: 7.875 kB / 1.12 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.158, allocations: 0 / 1.12 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/1.158, allocations: 47.31 kB / 1.12 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/1.159, allocations: 318.8 kB / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/1.159, allocations: 59.2 kB / 1.12 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/1.16, allocations: 34.27 kB / 1.12 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/1.16, allocations: 3.938 kB / 1.12 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/1.16, allocations: 81.67 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.855e-06/1.16, allocations: 0 / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005788/1.16, allocations: 147.3 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.161, allocations: 55.25 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/1.161, allocations: 122.5 kB / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/1.161, allocations: 33.58 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/1.161, allocations: 83.95 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/1.161, allocations: 26.16 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/1.161, allocations: 0 / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.161, allocations: 325.3 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/1.161, allocations: 25.88 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/1.161, allocations: 53.69 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/1.162, allocations: 73.22 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.162, allocations: 3.938 kB / 1.121 GB, free: 29.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003727/1.162, allocations: 130.8 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.162, allocations: 3.875 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.162, allocations: 0 / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.162, allocations: 3.844 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.162, allocations: 10.39 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.162, allocations: 4.062 kB / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/1.162, allocations: 17.78 kB / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/1.162, allocations: 3.844 kB / 1.121 GB, free: 29.6 MB / 0.698 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.0001291/1.162, allocations: 118.4 kB / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/1.163, allocations: 7.75 kB / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/1.163, allocations: 10.88 kB / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.163, allocations: 3.938 kB / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.163, allocations: 3.906 kB / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.163, allocations: 0 / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/1.163, allocations: 387 kB / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.163, allocations: 0.875 kB / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/1.163, allocations: 5.312 kB / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/1.163, allocations: 0 / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/1.163, allocations: 5.578 kB / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.163, allocations: 0 / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.163, allocations: 15.75 kB / 1.122 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/1.164, allocations: 214.5 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/1.164, allocations: 84.95 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/1.164, allocations: 3.75 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/1.164, allocations: 9.562 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/1.164, allocations: 15.08 kB / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/1.164, allocations: 0 / 1.122 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.06e-05/1.164, allocations: 91.95 kB / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.164, allocations: 0 / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004518/1.165, allocations: 53.05 kB / 1.122 GB, free: 28.82 MB / 0.698 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.0004932/1.165, allocations: 174.6 kB / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003637/1.166, allocations: 76.81 kB / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.166, allocations: 0 / 1.122 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/1.166, allocations: 42.86 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/1.166, allocations: 9.312 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/1.167, allocations: 200.1 kB / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.167, allocations: 0.6903 MB / 1.123 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.353e-05/1.167, allocations: 6.844 kB / 1.123 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/1.167, allocations: 7.438 kB / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.167, allocations: 0 / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of Templates: time 0.005822/1.173, allocations: 1.524 MB / 1.125 GB, free: 27.71 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)