Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.029/1.029, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.781/1.781, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0.9844 kB / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.594e-05, allocations: 5.125 kB / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.005365/0.005391, allocations: 1.567 MB / 0.7886 GB, free: 9.824 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.006577, allocations: 0.7802 MB / 0.7894 GB, free: 9.039 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.006631, allocations: 0.5625 kB / 0.7894 GB, free: 9.039 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.006663, allocations: 9.203 kB / 0.7894 GB, free: 9.031 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.505e-05/0.006718, allocations: 15.8 kB / 0.7894 GB, free: 9.016 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.01032, allocations: 140.5 kB / 0.7895 GB, free: 8.879 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.01044, allocations: 79.7 kB / 0.7896 GB, free: 8.801 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.01052, allocations: 12.17 kB / 0.7896 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.01066, allocations: 61.19 kB / 0.7897 GB, free: 8.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.01072, allocations: 31.94 kB / 0.7897 GB, free: 8.699 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.01074, allocations: 8 kB / 0.7897 GB, free: 8.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.01097, allocations: 132.3 kB / 0.7898 GB, free: 8.562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.011, allocations: 23.91 kB / 0.7899 GB, free: 8.539 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.01104, allocations: 16.58 kB / 0.7899 GB, free: 8.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.01127, allocations: 156.5 kB / 0.79 GB, free: 8.371 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01128, allocations: 0 / 0.79 GB, free: 8.371 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.01128, allocations: 0 / 0.79 GB, free: 8.371 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.01128, allocations: 5.375 kB / 0.79 GB, free: 8.367 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.0005109/0.01179, allocations: 449.5 kB / 0.7905 GB, free: 7.887 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.01183, allocations: 8.031 kB / 0.7905 GB, free: 7.879 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.01509, allocations: 41.83 kB / 0.7905 GB, free: 7.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.01527, allocations: 129.2 kB / 0.7906 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.01529, allocations: 4.359 kB / 0.7906 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.01531, allocations: 10.88 kB / 0.7906 GB, free: 7.676 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.01547, allocations: 66.92 kB / 0.7907 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.01549, allocations: 192 / 0.7907 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.0155, allocations: 8.125 kB / 0.7907 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.01551, allocations: 4 kB / 0.7907 GB, free: 7.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.01555, allocations: 11.94 kB / 0.7907 GB, free: 7.578 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.01601, allocations: 305.4 kB / 0.791 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/0.01608, allocations: 35.06 kB / 0.7911 GB, free: 7.199 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.01612, allocations: 28.31 kB / 0.7911 GB, free: 7.168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.01614, allocations: 3.938 kB / 0.7911 GB, free: 7.164 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.653e-05/0.01624, allocations: 73.69 kB / 0.7912 GB, free: 7.078 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.01624, allocations: 0.5312 kB / 0.7912 GB, free: 7.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002624/0.0165, allocations: 101.6 kB / 0.7912 GB, free: 6.973 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.01654, allocations: 53.06 kB / 0.7913 GB, free: 6.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01665, allocations: 189.7 kB / 0.7915 GB, free: 6.711 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.01666, allocations: 33.7 kB / 0.7915 GB, free: 6.672 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.01672, allocations: 130.9 kB / 0.7916 GB, free: 6.539 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.01675, allocations: 28.39 kB / 0.7917 GB, free: 6.512 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.0168, allocations: 31.95 kB / 0.7917 GB, free: 6.473 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.01693, allocations: 0.4884 MB / 0.7922 GB, free: 5.973 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.01697, allocations: 16.7 kB / 0.7922 GB, free: 5.957 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-05/0.01702, allocations: 42.98 kB / 0.7922 GB, free: 5.902 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.0171, allocations: 56.2 kB / 0.7923 GB, free: 5.836 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.0171, allocations: 1.375 kB / 0.7923 GB, free: 5.836 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001445/0.01725, allocations: 89.52 kB / 0.7924 GB, free: 5.742 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01726, allocations: 4 kB / 0.7924 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01727, allocations: 5.812 kB / 0.7924 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01729, allocations: 3.938 kB / 0.7924 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.01737, allocations: 15.98 kB / 0.7924 GB, free: 5.715 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01738, allocations: 0 / 0.7924 GB, free: 5.715 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.01742, allocations: 11.95 kB / 0.7924 GB, free: 5.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01743, allocations: 9.359 kB / 0.7924 GB, free: 5.695 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.01753, allocations: 160.6 kB / 0.7926 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.01755, allocations: 13.05 kB / 0.7926 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.01758, allocations: 8.438 kB / 0.7926 GB, free: 5.508 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01759, allocations: 0 / 0.7926 GB, free: 5.508 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01759, allocations: 9.906 kB / 0.7926 GB, free: 5.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.0176, allocations: 7.922 kB / 0.7926 GB, free: 5.492 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.01792, allocations: 345.3 kB / 0.7929 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01792, allocations: 0 / 0.7929 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.01795, allocations: 7.984 kB / 0.7929 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01795, allocations: 2.438 kB / 0.7929 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01796, allocations: 0 / 0.7929 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01796, allocations: 0 / 0.7929 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01796, allocations: 4 kB / 0.793 GB, free: 5.102 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.01814, allocations: 247.7 kB / 0.7932 GB, free: 4.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.01815, allocations: 11.89 kB / 0.7932 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.01817, allocations: 0 / 0.7932 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.01823, allocations: 4.531 kB / 0.7932 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.01827, allocations: 5.922 kB / 0.7932 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.01828, allocations: 4 kB / 0.7932 GB, free: 4.816 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.01834, allocations: 135.2 kB / 0.7933 GB, free: 4.684 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01834, allocations: 0 / 0.7933 GB, free: 4.684 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002957/0.01863, allocations: 39.92 kB / 0.7934 GB, free: 4.645 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,win.occ,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003332/0.02197, allocations: 183.3 kB / 0.7936 GB, free: 4.477 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.0221, allocations: 52.48 kB / 0.7936 GB, free: 4.422 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.02211, allocations: 0 / 0.7936 GB, free: 4.422 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.02216, allocations: 35.61 kB / 0.7936 GB, free: 4.383 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.0224, allocations: 14.78 kB / 0.7937 GB, free: 4.371 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.02301, allocations: 183.5 kB / 0.7938 GB, free: 4.164 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.02305, allocations: 59.34 kB / 0.7939 GB, free: 4.086 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.02308, allocations: 7.938 kB / 0.7939 GB, free: 4.082 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.02311, allocations: 16.48 kB / 0.7939 GB, free: 4.066 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.02311, allocations: 0 / 0.7939 GB, free: 4.066 MB / 0.698 GB Notification: Performance of Templates: time 0.003412/0.02653, allocations: 1.527 MB / 0.7954 GB, free: 2.574 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.250284542329609]