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.001348/0.001348, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001637/0.001637, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.525/1.525, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.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.815/2.815, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 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.001936/0.001936, allocations: 63.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002885/1.019, allocations: 1.526 MB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001256/1.021, allocations: 0.7424 MB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/1.021, allocations: 0 / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/1.021, allocations: 4.969 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/1.021, allocations: 12.45 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/1.021, allocations: 120.7 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00013/1.021, allocations: 79.31 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/1.021, allocations: 17.59 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/1.021, allocations: 31.81 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/1.022, allocations: 42.06 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/1.022, allocations: 5.719 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/1.022, allocations: 104.4 kB / 1.275 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/1.022, allocations: 18.88 kB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/1.022, allocations: 36.3 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/1.022, allocations: 140.8 kB / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.022, allocations: 0.9375 kB / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/1.022, allocations: 0 / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.989e-06/1.022, allocations: 4 kB / 1.275 GB, free: 6.09 MB / 0.9981 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.0005887/1.023, allocations: 421 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/1.023, allocations: 8.844 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/1.023, allocations: 11.56 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/1.023, allocations: 167.7 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/1.023, allocations: 6.875 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/1.023, allocations: 8.031 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/1.023, allocations: 73.12 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.023, allocations: 0.7188 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.023, allocations: 0.6875 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.023, allocations: 1.609 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/1.023, allocations: 35.52 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/1.024, allocations: 319.3 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/1.024, allocations: 51.66 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/1.024, allocations: 29.67 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/1.024, allocations: 2.312 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/1.024, allocations: 80.72 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/1.024, allocations: 0 / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000389/1.025, allocations: 145.3 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/1.025, allocations: 54.31 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/1.025, allocations: 126.1 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/1.025, allocations: 30.89 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/1.025, allocations: 89.02 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/1.025, allocations: 19.62 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/1.025, allocations: 26.2 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/1.025, allocations: 328.7 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/1.025, allocations: 25.05 kB / 1.277 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/1.025, allocations: 46.83 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/1.025, allocations: 82.62 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.025, allocations: 0 / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002087/1.025, allocations: 115.8 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.025, allocations: 5.469 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.025, allocations: 1.125 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.025, allocations: 1.062 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/1.026, allocations: 11.62 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.026, allocations: 1.906 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/1.026, allocations: 14.45 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.026, allocations: 6.406 kB / 1.277 GB, free: 4.098 MB / 0.9981 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 6.417e-05/1.026, allocations: 122.7 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/1.026, allocations: 8.516 kB / 1.277 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/1.026, allocations: 11.44 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.026, allocations: 5.188 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.026, allocations: 0 / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.026, allocations: 0 / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/1.026, allocations: 392.9 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.026, allocations: 0 / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/1.026, allocations: 3.562 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.026, allocations: 1.062 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/1.026, allocations: 4.031 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.026, allocations: 0.9062 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.026, allocations: 3.938 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/1.026, allocations: 210.4 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/1.026, allocations: 79.92 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/1.026, allocations: 1.312 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/1.026, allocations: 5.094 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/1.027, allocations: 9.234 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/1.027, allocations: 2.766 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.5e-05/1.027, allocations: 99.98 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.027, allocations: 0 / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003219/1.027, allocations: 39.03 kB / 1.278 GB, free: 3.246 MB / 0.9981 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.0003259/1.027, allocations: 174.8 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002453/1.027, allocations: 72.81 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.027, allocations: 0 / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/1.028, allocations: 35.73 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/1.028, allocations: 8.906 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/1.028, allocations: 194.5 kB / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/1.028, allocations: 0.6889 MB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.694e-05/1.028, allocations: 16.66 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/1.028, allocations: 16.06 kB / 1.279 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.028, allocations: 0 / 1.279 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of Templates: time 0.004929/1.033, allocations: 1.458 MB / 1.281 GB, free: 2.086 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.29969810321927]