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.001521/0.001521, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001612/0.001612, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.809 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 3.13/3.13, allocations: 475.9 MB / 0.7699 GB, free: 4.77 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.002109/0.002109, allocations: 63.53 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4305, allocations: 170 MB / 1.283 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.005193/0.4357, allocations: 1.488 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.4386, allocations: 0.7613 MB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.4387, allocations: 3.938 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.25e-05/0.4388, allocations: 7.922 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.964e-05/0.4389, allocations: 7.875 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.44, allocations: 147.6 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.4402, allocations: 79.7 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4403, allocations: 8.188 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.4406, allocations: 47.83 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.4407, allocations: 31.84 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.4407, allocations: 8 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005333/0.4412, allocations: 139.8 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.4413, allocations: 11.98 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.4414, allocations: 27.86 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.4418, allocations: 159.4 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4418, allocations: 4 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4418, allocations: 0 / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.4419, allocations: 4 kB / 1.286 GB, free: 9.102 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.0009877/0.4428, allocations: 351.5 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.4429, allocations: 8.031 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.4435, allocations: 28.91 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.4439, allocations: 136.6 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.4439, allocations: 12.36 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.4439, allocations: 4.375 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.4442, allocations: 69.78 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4442, allocations: 3.938 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.4443, allocations: 4 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4443, allocations: 4 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.4445, allocations: 35.97 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.4454, allocations: 248.5 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.4456, allocations: 42.56 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.4458, allocations: 36.89 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.4458, allocations: 0 / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.4461, allocations: 83.31 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/0.4461, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007345/0.4468, allocations: 133.6 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.4469, allocations: 63.41 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.4472, allocations: 122.1 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.4472, allocations: 29.64 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.4473, allocations: 96.09 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.4473, allocations: 19.91 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.4474, allocations: 29.7 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.4476, allocations: 322.8 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4478, allocations: 27.98 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.448, allocations: 50.55 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.4483, allocations: 78.8 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4483, allocations: 3.938 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004666/0.4488, allocations: 113.5 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4488, allocations: 4 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4488, allocations: 4 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.4488, allocations: 4 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.449, allocations: 12.05 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.449, allocations: 4 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.4491, allocations: 11.97 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.4491, allocations: 4 kB / 1.288 GB, free: 6.746 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.0001631/0.4493, allocations: 120.2 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.4493, allocations: 11.89 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.4494, allocations: 8.375 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.4494, allocations: 4 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4494, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4494, allocations: 3.984 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.4502, allocations: 322.1 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4502, allocations: 0 / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.4502, allocations: 4 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.4503, allocations: 4 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.4503, allocations: 4 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.4503, allocations: 3.938 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4503, allocations: 0 / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.4508, allocations: 219.4 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.4509, allocations: 11.89 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.4509, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.451, allocations: 7.984 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.4511, allocations: 4 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.4511, allocations: 7.922 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001079/0.4512, allocations: 100.6 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4512, allocations: 3.938 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005657/0.4518, allocations: 35.94 kB / 1.289 GB, free: 5.824 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.0006362/0.4524, allocations: 166.3 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.4529, allocations: 72.12 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4529, allocations: 0 / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.4531, allocations: 36.06 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.4535, allocations: 12.14 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.4542, allocations: 193.6 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.4543, allocations: 79.27 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.996e-05/0.4544, allocations: 3.938 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.4544, allocations: 15.42 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.4544, allocations: 0 / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of Templates: time 0.008311/0.4628, allocations: 1.519 MB / 1.291 GB, free: 3.719 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.743724612519145]