Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.002278/0.002278, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002924/0.002924, allocations: 209.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.898/2.898, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 66.2 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3828, allocations: 169.9 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003907/0.3867, allocations: 1.542 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3885, allocations: 0.7769 MB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.3886, allocations: 4 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.3886, allocations: 7.875 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.3887, allocations: 11.86 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.3895, allocations: 163.5 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.3897, allocations: 103.7 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3899, allocations: 8 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3901, allocations: 55.83 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3902, allocations: 51.81 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.3902, allocations: 8 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.3906, allocations: 147.7 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.3906, allocations: 27.91 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.3907, allocations: 35.84 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.391, allocations: 167.5 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.391, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.391, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.391, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008605/0.3919, allocations: 397.2 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3919, allocations: 12.03 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005644/0.3925, allocations: 44.86 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.3928, allocations: 138.3 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.3929, allocations: 12.31 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3929, allocations: 4.375 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.3932, allocations: 89.94 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3932, allocations: 4 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.3932, allocations: 7.984 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.3932, allocations: 4 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.3934, allocations: 47.91 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.3942, allocations: 260.5 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.3944, allocations: 66.48 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3946, allocations: 40.83 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.3946, allocations: 4 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.3948, allocations: 95.53 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.3948, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006087/0.3954, allocations: 197.5 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.3955, allocations: 51.41 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3956, allocations: 129.8 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3957, allocations: 25.7 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.3957, allocations: 100.1 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.3958, allocations: 19.84 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.3958, allocations: 29.7 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.396, allocations: 326.8 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.3961, allocations: 23.98 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3962, allocations: 67.89 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.3964, allocations: 100.1 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3964, allocations: 4 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002878/0.3967, allocations: 125.5 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3967, allocations: 8 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3967, allocations: 96 / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3968, allocations: 8 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3969, allocations: 11.98 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3969, allocations: 4 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/0.397, allocations: 15.94 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.397, allocations: 4 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000114/0.3971, allocations: 125.7 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.3971, allocations: 3.953 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.3971, allocations: 20.3 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3971, allocations: 7.938 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3971, allocations: 0 / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3972, allocations: 4.031 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.3978, allocations: 386.3 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3978, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3978, allocations: 8.062 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3978, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3979, allocations: 3.984 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3979, allocations: 0 / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3979, allocations: 8 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.3983, allocations: 255.4 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.3983, allocations: 7.953 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3984, allocations: 7.984 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3985, allocations: 4 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.3985, allocations: 7.984 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3985, allocations: 7.984 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.3986, allocations: 101.2 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3986, allocations: 7.938 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003362/0.3989, allocations: 39.88 kB / 1.289 GB, free: 5.207 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004245/0.3994, allocations: 160.5 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.3997, allocations: 91.94 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3997, allocations: 3.938 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.3998, allocations: 43.97 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.4001, allocations: 9.891 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.4006, allocations: 203.3 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.423e-05/0.4007, allocations: 83.44 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.252e-05/0.4008, allocations: 7.938 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.4008, allocations: 11.44 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.4008, allocations: 0 / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of Templates: time 0.00577/0.4066, allocations: 1.844 MB / 1.292 GB, free: 2.742 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.continuous,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.349210672080517]