Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.001772/0.001772, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002189/0.002189, allocations: 213.2 kB / 23 MB, free: 4.969 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") [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.002041/0.002041, allocations: 65.95 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2913, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002811/0.2941, allocations: 1.493 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2955, allocations: 0.709 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.2956, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.807e-05/0.2957, allocations: 7.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.2957, allocations: 15.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.2962, allocations: 127.7 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.2964, allocations: 87.69 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.2965, allocations: 12 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.2966, allocations: 51.83 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.2967, allocations: 35.84 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2967, allocations: 8 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.2969, allocations: 127.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.297, allocations: 39.84 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.2971, allocations: 43.61 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.2973, allocations: 191.2 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2974, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2974, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2974, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006808/0.298, allocations: 432.1 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2981, allocations: 8.031 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003951/0.2985, allocations: 40.81 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.2987, allocations: 138.3 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2987, allocations: 4.375 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.2987, allocations: 4.375 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.2991, allocations: 205.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2991, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2991, allocations: 11.88 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2991, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.2993, allocations: 104 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.2999, allocations: 284.3 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3, allocations: 114.8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.3002, allocations: 101.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3002, allocations: 3.938 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.3005, allocations: 212.3 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.3005, allocations: 0 / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008363/0.3013, allocations: 0.5165 MB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.3014, allocations: 91.36 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3015, allocations: 137.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.3016, allocations: 61.67 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.3016, allocations: 93.03 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3018, allocations: 107.3 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3019, allocations: 101.6 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.302, allocations: 342.8 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.3023, allocations: 180.6 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.3027, allocations: 235.2 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/0.3033, allocations: 431.2 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3033, allocations: 7.938 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007893/0.3041, allocations: 0.5088 MB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3041, allocations: 6.031 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.3041, allocations: 4 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3041, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3043, allocations: 19.92 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3043, allocations: 4 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.3044, allocations: 43.77 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.3044, allocations: 16 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 75 (win.occ,win.ran,$PRE.win.ran,win.state[33],$PRE.win.state[33],win.state[32],$PRE.win.state[32],win.state[31],$PRE.win.state[31],win.state[30],$PRE.win.state[30],win.state[29],$PRE.win.state[29],win.state[28],$PRE.win.state[28],win.state[27],$PRE.win.state[27],win.state[26],$PRE.win.state[26],win.state[25],$PRE.win.state[25],win.state[24],$PRE.win.state[24],win.state[23],$PRE.win.state[23],win.state[22],$PRE.win.state[22],win.state[21],$PRE.win.state[21],win.state[20],$PRE.win.state[20],win.state[19],$PRE.win.state[19],win.state[18],$PRE.win.state[18],win.state[17],$PRE.win.state[17],win.state[16],$PRE.win.state[16],win.state[15],$PRE.win.state[15],win.state[14],$PRE.win.state[14],win.state[13],$PRE.win.state[13],win.state[12],$PRE.win.state[12],win.state[11],$PRE.win.state[11],win.state[10],$PRE.win.state[10],win.state[9],$PRE.win.state[9],win.state[8],$PRE.win.state[8],win.state[7],$PRE.win.state[7],win.state[6],$PRE.win.state[6],win.state[5],$PRE.win.state[5],win.state[4],$PRE.win.state[4],win.state[3],$PRE.win.state[3],win.state[2],$PRE.win.state[2],win.state[1],$PRE.win.state[1],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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002171/0.3046, allocations: 207.4 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.3047, allocations: 11.91 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3047, allocations: 13.62 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3047, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3047, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.3047, allocations: 27.75 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.3048, allocations: 31.98 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.3048, allocations: 4 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3049, allocations: 7.922 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006164/0.3055, allocations: 436.1 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006384/0.3061, allocations: 0.5238 MB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001527/0.3063, allocations: 91.97 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.326e-05/0.3064, allocations: 102.1 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of Backend: time 2.2e-07/0.3064, allocations: 3.938 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.3074, allocations: 432.3 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of SimCode: time 0.000714/0.3081, allocations: 0.7572 MB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of Templates: time 0.005876/0.314, allocations: 2.41 MB / 1.339 GB, free: 4.312 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.globalSeed,win.localSeed,win.occ,win.on,win.p,win.samplePeriod,win.t0 [Calling sys.exit(0), Time elapsed: 8.582976236000832]