Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001181/0.00118, allocations: 180.8 kB / 366.7 MB, free: 1.637 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.387/1.387, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008359/0.0008359, allocations: 84.33 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.373e-05/1.372e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5525, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.7336, allocations: 140.2 MB / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.7339, allocations: 87.92 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.008436/0.7424, allocations: 2.954 MB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7424, allocations: 0.5312 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.7424, allocations: 0.5 kB / 1.113 GB, free: 6.949 MB / 0.7136 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.0004584/0.7429, allocations: 414.5 kB / 1.114 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.7429, allocations: 8.781 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.743, allocations: 7.906 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.7431, allocations: 174.2 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.7431, allocations: 0 / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.7431, allocations: 7.984 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.492e-05/0.7432, allocations: 23.98 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.7433, allocations: 57.67 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.7433, allocations: 0 / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.7434, allocations: 0 / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7434, allocations: 0 / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.7439, allocations: 297.1 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.384e-05/0.744, allocations: 42.52 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.744, allocations: 20.98 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.7441, allocations: 7.094 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.7442, allocations: 71.66 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.7442, allocations: 0 / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002473/0.7444, allocations: 89.67 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.7445, allocations: 56.16 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.7445, allocations: 124.8 kB / 1.115 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.7446, allocations: 27.14 kB / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.7446, allocations: 92.31 kB / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.7446, allocations: 19.75 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.7447, allocations: 0.8438 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.7447, allocations: 326.6 kB / 1.115 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.7448, allocations: 20 kB / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.7448, allocations: 34.58 kB / 1.115 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.7449, allocations: 19.98 kB / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.7449, allocations: 0 / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001443/0.7451, allocations: 93.52 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7451, allocations: 5.781 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7451, allocations: 0 / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.7451, allocations: 4 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.7452, allocations: 12.59 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.7452, allocations: 4.734 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.7453, allocations: 12.06 kB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.7453, allocations: 0 / 1.115 GB, free: 4.73 MB / 0.7136 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 () * 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 7.439e-05/0.7454, allocations: 112.9 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.7454, allocations: 7.906 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.7454, allocations: 12.61 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7455, allocations: 4 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7455, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7455, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.7458, allocations: 335.1 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7458, allocations: 3.938 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.7458, allocations: 7.984 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.7458, allocations: 0 / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7459, allocations: 4 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.7459, allocations: 0 / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7459, allocations: 3.938 kB / 1.116 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.7461, allocations: 198.3 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.7461, allocations: 89.03 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.7461, allocations: 0 / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.7462, allocations: 4 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.7463, allocations: 7.984 kB / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7463, allocations: 4 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.7463, allocations: 92.03 kB / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7463, allocations: 0 / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000284/0.7466, allocations: 39.94 kB / 1.116 GB, free: 3.75 MB / 0.7136 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 () * 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.0003206/0.7469, allocations: 182.2 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.7471, allocations: 51.97 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7471, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.7471, allocations: 31.94 kB / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.7473, allocations: 13.94 kB / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.7476, allocations: 96.45 kB / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.7478, allocations: 0.6931 MB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.7478, allocations: 5.438 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.7478, allocations: 11.44 kB / 1.117 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.7478, allocations: 3.938 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.003379/0.7512, allocations: 1.507 MB / 1.119 GB, free: 1.168 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)