Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.53/2.53, allocations: 287.5 MB / 303.2 MB, free: 8.273 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.001972/0.001971, allocations: 186.6 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.065/2.065, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0008743/0.0008741, allocations: 94.73 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006419, allocations: 18.72 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2166, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9789/1.196, allocations: 139.9 MB / 1.116 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.196, allocations: 94.86 kB / 1.116 GB, free: 15.69 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.01299/1.209, allocations: 2.997 MB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/1.209, allocations: 0 / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.407e-06/1.209, allocations: 7.812 kB / 1.119 GB, free: 31.24 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.0006366/1.21, allocations: 418.7 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.21, allocations: 7.656 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/1.21, allocations: 8.781 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.21, allocations: 174.3 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/1.21, allocations: 8 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/1.21, allocations: 4.219 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/1.21, allocations: 74.12 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.21, allocations: 192 / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/1.21, allocations: 7.875 kB / 1.12 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.21, allocations: 3.875 kB / 1.12 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/1.21, allocations: 42.17 kB / 1.12 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/1.211, allocations: 315.9 kB / 1.12 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/1.211, allocations: 59.06 kB / 1.12 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/1.212, allocations: 33.62 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/1.212, allocations: 11.64 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/1.212, allocations: 82.16 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/1.212, allocations: 0 / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005444/1.212, allocations: 137.1 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/1.212, allocations: 59.19 kB / 1.12 GB, free: 30.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/1.213, allocations: 122.5 kB / 1.12 GB, free: 30.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/1.213, allocations: 29.7 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/1.213, allocations: 91.52 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/1.213, allocations: 19.11 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/1.213, allocations: 3.688 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.213, allocations: 321.5 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/1.213, allocations: 29.02 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/1.213, allocations: 56.64 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/1.213, allocations: 74.36 kB / 1.121 GB, free: 29.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.213, allocations: 0 / 1.121 GB, free: 29.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003565/1.214, allocations: 126.3 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.214, allocations: 3.844 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.214, allocations: 3.969 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.214, allocations: 2.953 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/1.214, allocations: 10.95 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.214, allocations: 3.812 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/1.214, allocations: 7.938 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/1.214, allocations: 3.844 kB / 1.121 GB, free: 29.46 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.0001124/1.214, allocations: 124.1 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/1.214, allocations: 7.75 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/1.214, allocations: 4.375 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.214, allocations: 11.77 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.214, allocations: 3.938 kB / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.214, allocations: 0 / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/1.215, allocations: 385.5 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.215, allocations: 3.438 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/1.215, allocations: 10.91 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.215, allocations: 0 / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.215, allocations: 3.844 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.215, allocations: 0 / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.215, allocations: 7.938 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/1.216, allocations: 219.2 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/1.216, allocations: 88.73 kB / 1.122 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/1.216, allocations: 2.625 kB / 1.122 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.216, allocations: 7.625 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/1.216, allocations: 10.64 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.216, allocations: 3.719 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.524e-05/1.216, allocations: 91.66 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.216, allocations: 0 / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004389/1.216, allocations: 53.19 kB / 1.122 GB, free: 28.68 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.0004466/1.217, allocations: 178.9 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003369/1.217, allocations: 75.5 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.217, allocations: 0 / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/1.217, allocations: 39.53 kB / 1.122 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/1.218, allocations: 9.344 kB / 1.122 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/1.218, allocations: 195.4 kB / 1.123 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/1.218, allocations: 0.6912 MB / 1.123 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.69e-05/1.219, allocations: 5.328 kB / 1.123 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/1.219, allocations: 11.25 kB / 1.123 GB, free: 27.71 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.219, allocations: 0 / 1.123 GB, free: 27.71 MB / 0.698 GB Notification: Performance of Templates: time 0.005486/1.224, allocations: 1.527 MB / 1.125 GB, free: 27.57 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)