Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.6 kB / 16.42 MB, free: 6.508 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.001207/0.001207, allocations: 187.9 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.468/2.468, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.12 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6805/0.6818, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002309/0.6841, allocations: 1.487 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.6853, allocations: 0.7323 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.6853, allocations: 0 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.6854, allocations: 3.938 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.6854, allocations: 15.86 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.6859, allocations: 119.6 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.686, allocations: 79.72 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.6861, allocations: 19.92 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.6862, allocations: 31.92 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.6862, allocations: 43.83 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.6863, allocations: 8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.6864, allocations: 95.84 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.6865, allocations: 15.97 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.6865, allocations: 35.8 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.6867, allocations: 143.5 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6867, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6868, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.6868, allocations: 3.938 kB / 1.211 GB, free: 10.81 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.0005692/0.6873, allocations: 414.8 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.6874, allocations: 8.031 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.6874, allocations: 8.844 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.6875, allocations: 180.3 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.6876, allocations: 384 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.6876, allocations: 4.375 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.6878, allocations: 73.97 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6878, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.6878, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6878, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.6879, allocations: 39.91 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.6885, allocations: 316.7 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.6886, allocations: 50.55 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.6887, allocations: 32.97 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.6887, allocations: 3.938 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.6889, allocations: 83.38 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.6889, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003693/0.6893, allocations: 137.5 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.6893, allocations: 55.41 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.6894, allocations: 125.7 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.6894, allocations: 33.64 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.6895, allocations: 88.14 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.6895, allocations: 11.81 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.6895, allocations: 29.7 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6897, allocations: 322.8 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.6898, allocations: 31.98 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.6899, allocations: 50.48 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.69, allocations: 66.88 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.69, allocations: 0 / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002363/0.6903, allocations: 125.5 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6903, allocations: 4 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6903, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6903, allocations: 4 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.6904, allocations: 15.92 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6904, allocations: 0 / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.6905, allocations: 7.938 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.6905, allocations: 11.98 kB / 1.213 GB, free: 8.273 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.373e-05/0.6906, allocations: 121.8 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.6906, allocations: 7.906 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.6907, allocations: 8.312 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6907, allocations: 0 / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6907, allocations: 0 / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.6907, allocations: 93 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.6907, allocations: 0 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.6908, allocations: 7.938 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.6909, allocations: 15.98 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002785/0.6911, allocations: 192.8 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002765/0.6914, allocations: 274.8 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.883e-05/0.6915, allocations: 35.97 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.6916, allocations: 95.27 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of Backend: time 1.703e-06/0.6916, allocations: 0 / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000573/0.6922, allocations: 184.4 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000438/0.6926, allocations: 0.6299 MB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.003707/0.6963, allocations: 1.536 MB / 1.216 GB, free: 5.012 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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