Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.783/2.783, allocations: 287.5 MB / 302.5 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 181.1 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 99.34 kB / 0.743 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004649, allocations: 12.92 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.273, allocations: 139.9 MB / 1.115 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.273, allocations: 85.62 kB / 1.115 GB, free: 15.63 MB / 0.6823 GB [/var/lib/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.01584/1.289, allocations: 2.995 MB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.289, allocations: 0 / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.289, allocations: 0 / 1.118 GB, free: 31.18 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.0009026/1.29, allocations: 418.6 kB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.29, allocations: 7.688 kB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/1.29, allocations: 7.781 kB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.291, allocations: 180.7 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/1.291, allocations: 3.875 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/1.291, allocations: 7.781 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/1.291, allocations: 73.47 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.291, allocations: 0 / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/1.291, allocations: 0 / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.291, allocations: 3.844 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/1.292, allocations: 37.77 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/1.293, allocations: 318.7 kB / 1.119 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/1.293, allocations: 58.38 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/1.293, allocations: 7.906 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/1.293, allocations: 73.94 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.035e-06/1.293, allocations: 0 / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0007927/1.294, allocations: 155.1 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/1.294, allocations: 55.36 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/1.294, allocations: 115.8 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/1.294, allocations: 29.58 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/1.295, allocations: 91.8 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/1.295, allocations: 17.52 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/1.295, allocations: 3.875 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.295, allocations: 318.7 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/1.295, allocations: 32.36 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/1.295, allocations: 47.88 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/1.295, allocations: 37.16 kB / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.295, allocations: 0 / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004942/1.296, allocations: 117.3 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.296, allocations: 3.844 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.296, allocations: 0 / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.296, allocations: 3.875 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/1.296, allocations: 22.84 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.296, allocations: 0 / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/1.296, allocations: 18.59 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.296, allocations: 3.844 kB / 1.12 GB, free: 29.43 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.0001688/1.297, allocations: 121.2 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/1.297, allocations: 7.109 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.992e-05/1.297, allocations: 4.375 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.297, allocations: 0 / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.297, allocations: 4 kB / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.297, allocations: 3.875 kB / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008305/1.298, allocations: 394.1 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.298, allocations: 0 / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/1.298, allocations: 7.062 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.298, allocations: 0 / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/1.298, allocations: 7.875 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.298, allocations: 0 / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.298, allocations: 7.797 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/1.298, allocations: 207.7 kB / 1.121 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/1.298, allocations: 84.95 kB / 1.121 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/1.299, allocations: 11.44 kB / 1.121 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.299, allocations: 10.44 kB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/1.299, allocations: 1.312 kB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/1.299, allocations: 9.375 kB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.322e-05/1.299, allocations: 91.39 kB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/1.299, allocations: 0 / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000664/1.3, allocations: 56.56 kB / 1.121 GB, free: 28.66 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.0005522/1.3, allocations: 170.8 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004767/1.301, allocations: 75.12 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.301, allocations: 3.844 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/1.301, allocations: 39.47 kB / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/1.301, allocations: 5.344 kB / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/1.302, allocations: 204.5 kB / 1.122 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/1.302, allocations: 0.6929 MB / 1.122 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.357e-05/1.302, allocations: 5.359 kB / 1.122 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/1.302, allocations: 12.7 kB / 1.122 GB, free: 27.69 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/1.302, allocations: 0 / 1.122 GB, free: 27.69 MB / 0.698 GB Notification: Performance of Templates: time 0.006969/1.309, allocations: 1.518 MB / 1.124 GB, free: 27.55 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)