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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 194 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002002/0.002002, allocations: 63.91 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8807, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002989/0.8837, allocations: 1.507 MB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.8851, allocations: 0.7494 MB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.8852, allocations: 0 / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.8852, allocations: 7.938 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.8852, allocations: 11.86 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.8858, allocations: 119.6 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.886, allocations: 79.77 kB / 1.276 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.886, allocations: 11.95 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.8861, allocations: 43.83 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.8862, allocations: 39.84 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.8862, allocations: 4 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.8864, allocations: 99.89 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.8865, allocations: 19.97 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.8865, allocations: 35.8 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.8868, allocations: 142.2 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8868, allocations: 0 / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8868, allocations: 4 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8868, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 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.000701/0.8875, allocations: 416.8 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.8875, allocations: 12.03 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.8876, allocations: 8.891 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.8877, allocations: 180.2 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.8877, allocations: 4.375 kB / 1.277 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.8878, allocations: 8.359 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.888, allocations: 73.91 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.888, allocations: 0 / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.888, allocations: 4 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.888, allocations: 4 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.8881, allocations: 35.97 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.8888, allocations: 312.8 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.8889, allocations: 38.56 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.889, allocations: 36.91 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.889, allocations: 3.984 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.8892, allocations: 79.38 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.8892, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003955/0.8896, allocations: 141.6 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.8897, allocations: 63.41 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.8898, allocations: 137.5 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.8898, allocations: 25.7 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.8899, allocations: 96.06 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.8899, allocations: 11.91 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.89, allocations: 29.7 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8901, allocations: 326.8 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.8902, allocations: 23.98 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.8903, allocations: 46.56 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.8905, allocations: 74.48 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8905, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002526/0.8907, allocations: 121.5 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8907, allocations: 4 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8907, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.8907, allocations: 4 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.8908, allocations: 11.98 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8909, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.8909, allocations: 8 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.8909, allocations: 4 kB / 1.279 GB, free: 14.98 MB / 0.9825 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.0001097/0.891, allocations: 133.7 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.8911, allocations: 7.953 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.8911, allocations: 8.375 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.8911, allocations: 4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8911, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8911, allocations: 3.938 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.8916, allocations: 378.4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8916, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.8917, allocations: 15.98 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.8917, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.8917, allocations: 4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8917, allocations: 3.938 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8917, allocations: 3.938 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.892, allocations: 203.5 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.892, allocations: 85.06 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.892, allocations: 4 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.8921, allocations: 4 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.8922, allocations: 11.92 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.8922, allocations: 4 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.8923, allocations: 91.27 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8923, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003/0.8926, allocations: 39.92 kB / 1.28 GB, free: 13.89 MB / 0.9825 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.0004028/0.893, allocations: 177.9 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.8932, allocations: 63.91 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.8932, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.8933, allocations: 35.91 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.8936, allocations: 8.062 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.894, allocations: 204.1 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.8944, allocations: 0.6885 MB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.8944, allocations: 4 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.8944, allocations: 15.42 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8944, allocations: 0 / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.004585/0.899, allocations: 1.482 MB / 1.283 GB, free: 11.19 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.154029900208116]