Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001061/0.001061, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001118/0.001118, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 0.9826/0.9826, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.745/1.745, allocations: 359 MB / 0.6055 GB, free: 10.89 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.7875 GB, free: 11.1 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.429e-05, allocations: 2.312 kB / 0.7875 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002303/0.002327, allocations: 1.551 MB / 0.7891 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.003411, allocations: 0.7765 MB / 0.7898 GB, free: 8.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.00347, allocations: 1.156 kB / 0.7898 GB, free: 8.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.003496, allocations: 3.938 kB / 0.7898 GB, free: 8.762 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.003551, allocations: 12.5 kB / 0.7898 GB, free: 8.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.004079, allocations: 144 kB / 0.79 GB, free: 8.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.004179, allocations: 87.62 kB / 0.7901 GB, free: 8.523 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.004262, allocations: 13.48 kB / 0.7901 GB, free: 8.512 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.004393, allocations: 55.88 kB / 0.7901 GB, free: 8.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.004438, allocations: 23.97 kB / 0.7901 GB, free: 8.434 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.004456, allocations: 9.531 kB / 0.7902 GB, free: 8.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.004649, allocations: 139.6 kB / 0.7903 GB, free: 8.289 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.004671, allocations: 23.91 kB / 0.7903 GB, free: 8.266 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.004699, allocations: 19.97 kB / 0.7903 GB, free: 8.246 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.004892, allocations: 149 kB / 0.7905 GB, free: 8.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.004897, allocations: 7.922 kB / 0.7905 GB, free: 8.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004898, allocations: 0 / 0.7905 GB, free: 8.094 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.004901, allocations: 0 / 0.7905 GB, free: 8.094 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.000473/0.005374, allocations: 448.8 kB / 0.7909 GB, free: 7.617 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.005409, allocations: 8.031 kB / 0.7909 GB, free: 7.609 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.0056, allocations: 36.86 kB / 0.791 GB, free: 7.574 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.005729, allocations: 132.5 kB / 0.7911 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.005745, allocations: 384 / 0.7911 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.005756, allocations: 8.375 kB / 0.7911 GB, free: 7.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.005868, allocations: 71.86 kB / 0.7912 GB, free: 7.332 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.005875, allocations: 192 / 0.7912 GB, free: 7.332 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.005883, allocations: 4.656 kB / 0.7912 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005888, allocations: 0 / 0.7912 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.005911, allocations: 12.7 kB / 0.7912 GB, free: 7.316 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.006224, allocations: 286.3 kB / 0.7914 GB, free: 7.012 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.006279, allocations: 42.98 kB / 0.7915 GB, free: 6.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.006298, allocations: 11.69 kB / 0.7915 GB, free: 6.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.006321, allocations: 8.609 kB / 0.7915 GB, free: 6.934 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.756e-05/0.006398, allocations: 81.14 kB / 0.7916 GB, free: 6.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.006399, allocations: 0.9375 kB / 0.7916 GB, free: 6.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000171/0.00657, allocations: 89.62 kB / 0.7917 GB, free: 6.746 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.0066, allocations: 56.06 kB / 0.7917 GB, free: 6.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.006682, allocations: 193.5 kB / 0.7919 GB, free: 6.477 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.006693, allocations: 26.3 kB / 0.7919 GB, free: 6.445 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.006746, allocations: 146.8 kB / 0.7921 GB, free: 6.297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.006762, allocations: 13.27 kB / 0.7921 GB, free: 6.285 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.0068, allocations: 39.3 kB / 0.7921 GB, free: 6.238 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.006911, allocations: 0.4884 MB / 0.7926 GB, free: 5.738 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.00693, allocations: 13.55 kB / 0.7926 GB, free: 5.727 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.006962, allocations: 39.03 kB / 0.7927 GB, free: 5.676 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.007018, allocations: 50.98 kB / 0.7927 GB, free: 5.613 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.00702, allocations: 2.094 kB / 0.7927 GB, free: 5.613 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.111e-05/0.007111, allocations: 89.5 kB / 0.7928 GB, free: 5.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.007122, allocations: 4 kB / 0.7928 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007127, allocations: 0 / 0.7928 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.007141, allocations: 4.531 kB / 0.7928 GB, free: 5.512 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.007207, allocations: 11.98 kB / 0.7928 GB, free: 5.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007211, allocations: 6.562 kB / 0.7928 GB, free: 5.496 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.007239, allocations: 7.938 kB / 0.7928 GB, free: 5.488 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.007247, allocations: 8 kB / 0.7928 GB, free: 5.48 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 7.149e-05/0.007319, allocations: 164.5 kB / 0.793 GB, free: 5.309 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.007331, allocations: 11.89 kB / 0.793 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.007354, allocations: 14.16 kB / 0.793 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007356, allocations: 0 / 0.793 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.007357, allocations: 0 / 0.793 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00736, allocations: 3.984 kB / 0.793 GB, free: 5.281 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.007588, allocations: 329.9 kB / 0.7933 GB, free: 4.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.00759, allocations: 0.5 kB / 0.7933 GB, free: 4.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.007607, allocations: 4.562 kB / 0.7933 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.007609, allocations: 1.562 kB / 0.7933 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.007615, allocations: 3.984 kB / 0.7933 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007617, allocations: 0 / 0.7933 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.007617, allocations: 0 / 0.7933 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.007753, allocations: 243.7 kB / 0.7936 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.007762, allocations: 8.453 kB / 0.7936 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.007773, allocations: 6.078 kB / 0.7936 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.007814, allocations: 8 kB / 0.7936 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.007839, allocations: 3.984 kB / 0.7936 GB, free: 4.637 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.007844, allocations: 4 kB / 0.7936 GB, free: 4.633 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.007883, allocations: 139.1 kB / 0.7937 GB, free: 4.496 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.007883, allocations: 1.094 kB / 0.7937 GB, free: 4.496 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001828/0.008066, allocations: 31.94 kB / 0.7938 GB, free: 4.465 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.0002579/0.008324, allocations: 182.7 kB / 0.7939 GB, free: 4.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.78e-05/0.008412, allocations: 48.48 kB / 0.794 GB, free: 4.246 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.008414, allocations: 4 kB / 0.794 GB, free: 4.242 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.008445, allocations: 27.67 kB / 0.794 GB, free: 4.211 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.008614, allocations: 15.7 kB / 0.794 GB, free: 4.199 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.009058, allocations: 181.7 kB / 0.7942 GB, free: 3.992 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.009092, allocations: 63.34 kB / 0.7943 GB, free: 3.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.009115, allocations: 0 / 0.7943 GB, free: 3.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.009162, allocations: 75.36 kB / 0.7943 GB, free: 3.836 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.009162, allocations: 0 / 0.7943 GB, free: 3.836 MB / 0.698 GB Notification: Performance of Templates: time 0.003084/0.01225, allocations: 1.678 MB / 0.796 GB, free: 2.18 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.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: 4.786944522988051]