Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 113.9 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.6909, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002432/0.6934, allocations: 1.483 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.6946, allocations: 0.7245 MB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.6947, allocations: 7.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.6947, allocations: 7.922 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.6948, allocations: 11.88 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.6953, allocations: 123.6 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.6955, allocations: 75.72 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.6956, allocations: 19.92 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.6956, allocations: 27.92 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.6957, allocations: 47.81 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.6958, allocations: 12 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.696, allocations: 91.84 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.696, allocations: 15.98 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.696, allocations: 35.8 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.6963, allocations: 143.5 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6963, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6963, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.6963, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 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.0005862/0.6969, allocations: 410.8 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6969, allocations: 12.03 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.697, allocations: 8.844 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.6971, allocations: 180.2 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.6971, allocations: 8.375 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.6971, allocations: 4.375 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.6973, allocations: 69.97 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.6973, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6974, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.6974, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.6975, allocations: 39.97 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.6981, allocations: 316.7 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.6982, allocations: 50.55 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.6983, allocations: 28.97 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.6983, allocations: 4 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.6985, allocations: 83.38 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.226e-06/0.6985, allocations: 3.984 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003759/0.6989, allocations: 141.5 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.6989, allocations: 51.41 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.699, allocations: 133.7 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.6991, allocations: 29.7 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.6991, allocations: 88.14 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.6991, allocations: 19.8 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.6992, allocations: 21.72 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.6993, allocations: 322.8 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.6994, allocations: 31.92 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.6995, allocations: 50.55 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.6996, allocations: 70.81 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6996, allocations: 0 / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002315/0.6999, allocations: 121.5 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6999, allocations: 8 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6999, allocations: 4 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6999, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.7, allocations: 15.92 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7, allocations: 4 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.7001, allocations: 11.92 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.7001, allocations: 4 kB / 1.213 GB, free: 8.246 MB / 0.9356 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 8.298e-05/0.7002, allocations: 128.9 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.7003, allocations: 7.906 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.7003, allocations: 8.375 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7003, allocations: 3.938 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7003, allocations: 3.984 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.7003, allocations: 81.02 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.7004, allocations: 8 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.7004, allocations: 3.938 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.7005, allocations: 7.984 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002701/0.7008, allocations: 192.9 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002785/0.701, allocations: 274.8 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.478e-05/0.7011, allocations: 35.97 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.7012, allocations: 95.27 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of Backend: time 2.5e-07/0.7012, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000609/0.7018, allocations: 182.6 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004394/0.7023, allocations: 0.6221 MB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.003863/0.7061, allocations: 1.541 MB / 1.216 GB, free: 4.984 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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