Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001308/0.001308, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.0014/0.0014, allocations: 200.9 kB / 22.18 MB, free: 5.207 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.537/1.537, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.906/2.906, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 71.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.9096, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003781/0.9134, allocations: 1.511 MB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.9152, allocations: 0.7455 MB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.9153, allocations: 4 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.9153, allocations: 3.938 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/0.9154, allocations: 15.86 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.9162, allocations: 123.6 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.9164, allocations: 79.7 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.9166, allocations: 11.95 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.9167, allocations: 39.89 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.9169, allocations: 35.84 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.9169, allocations: 4 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.9172, allocations: 103.8 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.9173, allocations: 23.91 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.9174, allocations: 35.86 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.9178, allocations: 138.2 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.9178, allocations: 4 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9178, allocations: 0 / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.9178, allocations: 0 / 1.277 GB, free: 1.637 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.001033/0.9189, allocations: 412.8 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.9189, allocations: 12.03 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.919, allocations: 8.891 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.9192, allocations: 184.1 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.9192, allocations: 4.375 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.9192, allocations: 12.36 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.9195, allocations: 69.97 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9195, allocations: 0 / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.9195, allocations: 0 / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.9195, allocations: 0 / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.9197, allocations: 43.89 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.9204, allocations: 320.7 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.9206, allocations: 42.56 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.9207, allocations: 28.97 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.9207, allocations: 3.984 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.921, allocations: 75.39 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.921, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004799/0.9215, allocations: 149.5 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.9215, allocations: 55.41 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.9217, allocations: 129.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.9217, allocations: 33.69 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.9218, allocations: 92.14 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.9218, allocations: 11.91 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.9219, allocations: 29.7 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.922, allocations: 322.8 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.9222, allocations: 27.98 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.9223, allocations: 42.56 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.9224, allocations: 78.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9224, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003299/0.9228, allocations: 121.5 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.9228, allocations: 5.719 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9228, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9228, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.9229, allocations: 16.05 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.9229, allocations: 3.938 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.923, allocations: 11.94 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.923, allocations: 4 kB / 1.279 GB, free: 15.08 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.0001301/0.9231, allocations: 129.7 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.9232, allocations: 7.953 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.9232, allocations: 4.375 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9232, allocations: 8 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9232, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9232, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.9237, allocations: 382.4 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9237, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.9238, allocations: 7.984 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9238, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.9238, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9238, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9238, allocations: 11.94 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.9241, allocations: 207.5 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.9242, allocations: 85.06 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.9242, allocations: 0 / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.9243, allocations: 7.938 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.9243, allocations: 11.92 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.9244, allocations: 4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.9244, allocations: 95.27 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9244, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003312/0.9248, allocations: 39.92 kB / 1.28 GB, free: 13.99 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.0004729/0.9252, allocations: 172.9 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.9255, allocations: 71.91 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9255, allocations: 0 / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.9256, allocations: 31.97 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.9259, allocations: 4.547 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.9264, allocations: 197.4 kB / 1.28 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.9268, allocations: 0.6925 MB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.9269, allocations: 7.984 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.9269, allocations: 11.44 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.9269, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.00539/0.9323, allocations: 1.479 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.143448853865266]