Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.493/3.493, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002206/0.002206, allocations: 185.8 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.726/3.726, allocations: 205.4 MB / 0.5772 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 92.98 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007463/0.0007466, allocations: 12.59 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3671, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.7368, allocations: 133.5 MB / 1.03 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000498/0.7374, allocations: 95.94 kB / 1.03 GB, free: 12.21 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02216/0.7596, allocations: 3.004 MB / 1.033 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.996e-06/0.7596, allocations: 0 / 1.033 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.7597, allocations: 0 / 1.033 GB, free: 9.199 MB / 0.6823 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.001079/0.7608, allocations: 428.9 kB / 1.033 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.7608, allocations: 8.031 kB / 1.033 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.7609, allocations: 8.844 kB / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.7612, allocations: 176.4 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.7612, allocations: 384 / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.7613, allocations: 4.375 kB / 1.034 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.7617, allocations: 78.16 kB / 1.034 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.7618, allocations: 4.172 kB / 1.034 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.7619, allocations: 7.938 kB / 1.034 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.7619, allocations: 0 / 1.034 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.7623, allocations: 39.97 kB / 1.034 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.7636, allocations: 324.6 kB / 1.034 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.7639, allocations: 50.5 kB / 1.034 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.7642, allocations: 44.91 kB / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.7642, allocations: 0 / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.7646, allocations: 79.38 kB / 1.034 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.326e-06/0.7646, allocations: 0 / 1.034 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000959/0.7656, allocations: 157.8 kB / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.7657, allocations: 51.41 kB / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.766, allocations: 121.8 kB / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.766, allocations: 29.7 kB / 1.034 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.7662, allocations: 92.12 kB / 1.035 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.7662, allocations: 15.81 kB / 1.035 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.7663, allocations: 3.938 kB / 1.035 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002435/0.7665, allocations: 326.8 kB / 1.035 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.7668, allocations: 27.98 kB / 1.035 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.767, allocations: 50.56 kB / 1.035 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.7673, allocations: 36.05 kB / 1.035 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.7673, allocations: 4 kB / 1.035 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006306/0.768, allocations: 121.5 kB / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.768, allocations: 4 kB / 1.035 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7681, allocations: 0 / 1.035 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.7681, allocations: 4 kB / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.7683, allocations: 19.98 kB / 1.035 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.7684, allocations: 0 / 1.035 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.7685, allocations: 4 kB / 1.035 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.7686, allocations: 7.984 kB / 1.035 GB, free: 6.68 MB / 0.6823 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.0002193/0.7688, allocations: 123.5 kB / 1.035 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.7689, allocations: 11.84 kB / 1.035 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.7689, allocations: 8.375 kB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.769, allocations: 4 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-06/0.769, allocations: 0 / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.769, allocations: 0 / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.7702, allocations: 386.4 kB / 1.036 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.7702, allocations: 4 kB / 1.036 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.7703, allocations: 7.984 kB / 1.036 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.7704, allocations: 4 kB / 1.036 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.7704, allocations: 0 / 1.036 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.7704, allocations: 0 / 1.036 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7704, allocations: 0 / 1.036 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.7712, allocations: 223.3 kB / 1.036 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.7713, allocations: 89.02 kB / 1.036 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.7713, allocations: 0 / 1.036 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.7716, allocations: 7.984 kB / 1.036 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.7717, allocations: 7.938 kB / 1.036 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.7717, allocations: 4 kB / 1.036 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001212/0.7718, allocations: 91.27 kB / 1.036 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7719, allocations: 0 / 1.036 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008071/0.7727, allocations: 59.86 kB / 1.036 GB, free: 5.57 MB / 0.6823 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.0007487/0.7735, allocations: 170.7 kB / 1.036 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006632/0.7742, allocations: 79.89 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.7742, allocations: 128 / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.7745, allocations: 40.38 kB / 1.036 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.7751, allocations: 15.17 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.776, allocations: 201.3 kB / 1.037 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.7765, allocations: 0.6926 MB / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.7766, allocations: 7.984 kB / 1.037 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.7767, allocations: 11.42 kB / 1.037 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of SimCode: time 1.793e-06/0.7767, allocations: 0 / 1.037 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of Templates: time 0.009124/0.7859, allocations: 1.516 MB / 1.039 GB, free: 2.801 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)