Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.555/2.555, allocations: 287.5 MB / 303.2 MB, free: 8.219 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.001415/0.001415, allocations: 192.5 kB / 371.8 MB, free: 10.82 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.174/2.174, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0009254/0.0009253, allocations: 89.11 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004757, allocations: 11.28 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9064/1.112, allocations: 139.9 MB / 1.116 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.113, allocations: 85.14 kB / 1.116 GB, free: 15.85 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.01287/1.126, allocations: 2.999 MB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/1.126, allocations: 0 / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.126, allocations: 0 / 1.119 GB, free: 31.41 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.0006461/1.126, allocations: 421 kB / 1.119 GB, free: 30.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.126, allocations: 15.69 kB / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/1.126, allocations: 4.812 kB / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/1.127, allocations: 178.6 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/1.127, allocations: 384 / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/1.127, allocations: 7.656 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/1.127, allocations: 72.62 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.127, allocations: 192 / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/1.127, allocations: 7.25 kB / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.127, allocations: 0 / 1.12 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/1.127, allocations: 49.27 kB / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/1.128, allocations: 313.6 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/1.128, allocations: 57.02 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/1.128, allocations: 37.7 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/1.128, allocations: 2.25 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/1.129, allocations: 90.44 kB / 1.12 GB, free: 30.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/1.129, allocations: 0 / 1.12 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005503/1.129, allocations: 140.4 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/1.129, allocations: 58.47 kB / 1.12 GB, free: 30.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.129, allocations: 116.7 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/1.129, allocations: 35.45 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/1.129, allocations: 84.08 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/1.129, allocations: 21.52 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/1.129, allocations: 3.625 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.13, allocations: 333.5 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/1.13, allocations: 21.81 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/1.13, allocations: 56.48 kB / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/1.13, allocations: 71.2 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.13, allocations: 7.938 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003561/1.131, allocations: 122 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.131, allocations: 3.812 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.131, allocations: 7.812 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.131, allocations: 0 / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/1.131, allocations: 10.64 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/1.131, allocations: 7.906 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/1.131, allocations: 13.89 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/1.131, allocations: 3.938 kB / 1.121 GB, free: 29.61 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.0001205/1.131, allocations: 119.5 kB / 1.121 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/1.131, allocations: 7.719 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/1.131, allocations: 9.797 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.131, allocations: 3.906 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.131, allocations: 0 / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.131, allocations: 7.938 kB / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/1.132, allocations: 381.4 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.132, allocations: 0 / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/1.132, allocations: 7.312 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.132, allocations: 0 / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/1.132, allocations: 3.812 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.132, allocations: 4 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.132, allocations: 0 / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/1.132, allocations: 221.9 kB / 1.122 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/1.132, allocations: 88.8 kB / 1.122 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/1.132, allocations: 3.312 kB / 1.122 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.133, allocations: 10.69 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/1.133, allocations: 10.62 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/1.133, allocations: 0 / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.467e-05/1.133, allocations: 96.58 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.133, allocations: 0 / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004382/1.133, allocations: 49.39 kB / 1.122 GB, free: 28.84 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.0004563/1.134, allocations: 170.9 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003338/1.134, allocations: 77.55 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.134, allocations: 0 / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/1.134, allocations: 44.38 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/1.135, allocations: 11.19 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/1.135, allocations: 200 kB / 1.123 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/1.135, allocations: 0.6908 MB / 1.123 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.328e-05/1.135, allocations: 3.812 kB / 1.123 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/1.135, allocations: 13.75 kB / 1.123 GB, free: 27.87 MB / 0.698 GB Notification: Performance of SimCode: time 7.22e-07/1.135, allocations: 0 / 1.123 GB, free: 27.87 MB / 0.698 GB Notification: Performance of Templates: time 0.005235/1.141, allocations: 1.522 MB / 1.125 GB, free: 27.73 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)