Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.002214/0.002214, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00285/0.00285, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.98 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.886/2.886, allocations: 476.7 MB / 0.7706 GB, free: 4.277 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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [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.002149/0.002149, allocations: 61.31 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3654, allocations: 170 MB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002824/0.3682, allocations: 1.511 MB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3697, allocations: 0.8079 MB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.3698, allocations: 4 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.3698, allocations: 7.938 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.3699, allocations: 15.84 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.3705, allocations: 143.5 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3707, allocations: 87.69 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.3708, allocations: 8.125 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3709, allocations: 43.89 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.371, allocations: 35.84 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.371, allocations: 8 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.3713, allocations: 147.8 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.3714, allocations: 19.97 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.3714, allocations: 35.8 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.3717, allocations: 147.5 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3717, allocations: 0 / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3717, allocations: 0 / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3717, allocations: 0 / 1.287 GB, free: 8.215 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006877/0.3724, allocations: 351.5 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3724, allocations: 8.031 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.3728, allocations: 36.86 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.373, allocations: 137.1 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.373, allocations: 4.375 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.3731, allocations: 12.36 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3733, allocations: 69.72 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3733, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3733, allocations: 4 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3733, allocations: 4 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3735, allocations: 39.91 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.3741, allocations: 283.8 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3743, allocations: 42.56 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.3744, allocations: 44.95 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.3744, allocations: 4.062 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.3745, allocations: 71.38 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3745, allocations: 0 / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004305/0.375, allocations: 145.5 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.375, allocations: 63.39 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3752, allocations: 118.1 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3752, allocations: 29.7 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.3753, allocations: 96.08 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3753, allocations: 19.83 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.3753, allocations: 29.7 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3755, allocations: 326.8 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.3756, allocations: 23.98 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.3757, allocations: 50.5 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3758, allocations: 74.48 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3758, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.3761, allocations: 117.5 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3761, allocations: 4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3761, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3761, allocations: 4 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.3762, allocations: 11.98 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3762, allocations: 3.938 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.3763, allocations: 8 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3763, allocations: 4 kB / 1.289 GB, free: 5.809 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.0001064/0.3764, allocations: 121.8 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.3764, allocations: 15.88 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.3764, allocations: 8.375 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3764, allocations: 4 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3764, allocations: 0 / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3765, allocations: 0 / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.3769, allocations: 353.4 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3769, allocations: 0 / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.377, allocations: 8 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.377, allocations: 0 / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.377, allocations: 11.98 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.377, allocations: 7.875 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.377, allocations: 0 / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.3773, allocations: 195.5 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.3773, allocations: 19.81 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3773, allocations: 4 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.3774, allocations: 11.94 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.3774, allocations: 7.984 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3775, allocations: 0 / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.729e-05/0.3775, allocations: 98.77 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3775, allocations: 0 / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003201/0.3778, allocations: 39.92 kB / 1.29 GB, free: 4.844 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.0003657/0.3782, allocations: 165.8 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3784, allocations: 67.89 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3784, allocations: 0 / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.3785, allocations: 31.97 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3788, allocations: 15.92 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.3792, allocations: 206.4 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3795, allocations: 0.6846 MB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.3796, allocations: 7.984 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.3796, allocations: 7.438 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3796, allocations: 4 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of Templates: time 0.004573/0.3842, allocations: 1.488 MB / 1.292 GB, free: 2.133 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.continuous,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.589890360832214]