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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001614/0.001614, allocations: 115.1 kB / 16.42 MB, free: 6.492 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.001779/0.001779, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.682/2.682, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7112, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.00262/0.7139, allocations: 1.473 MB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.7152, allocations: 0.7295 MB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.7153, allocations: 0 / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.7153, allocations: 7.922 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.7154, allocations: 15.88 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.716, allocations: 123.5 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.7161, allocations: 75.77 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.7162, allocations: 15.94 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.7164, allocations: 35.92 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.7164, allocations: 43.81 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.7165, allocations: 12 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.7167, allocations: 91.84 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.7167, allocations: 19.92 kB / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.7168, allocations: 31.86 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.7171, allocations: 144.1 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7171, allocations: 0 / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7171, allocations: 0 / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.7171, allocations: 0 / 1.229 GB, free: 10.7 MB / 0.9512 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.0006778/0.7178, allocations: 420.7 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7179, allocations: 16.02 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.7179, allocations: 8.891 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.718, allocations: 172.3 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.7181, allocations: 8.312 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.7181, allocations: 4.375 kB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.7183, allocations: 69.97 kB / 1.23 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7183, allocations: 0 / 1.23 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.7184, allocations: 8 kB / 1.23 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7184, allocations: 0 / 1.23 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.7185, allocations: 39.97 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.7192, allocations: 320.6 kB / 1.23 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.7193, allocations: 46.56 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.418e-05/0.7194, allocations: 32.97 kB / 1.23 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.7195, allocations: 8.062 kB / 1.23 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.7197, allocations: 75.38 kB / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.7197, allocations: 0 / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004016/0.7201, allocations: 137.5 kB / 1.23 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.7201, allocations: 55.41 kB / 1.23 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.7202, allocations: 129.8 kB / 1.231 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.7203, allocations: 29.7 kB / 1.231 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.7203, allocations: 88.14 kB / 1.231 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.7203, allocations: 19.88 kB / 1.231 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.7204, allocations: 25.7 kB / 1.231 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7205, allocations: 322.8 kB / 1.231 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.7206, allocations: 23.98 kB / 1.231 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.7207, allocations: 54.55 kB / 1.231 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.7209, allocations: 78.78 kB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7209, allocations: 3.938 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002349/0.7211, allocations: 113.6 kB / 1.231 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.7212, allocations: 8 kB / 1.231 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.7212, allocations: 3.984 kB / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.7212, allocations: 4 kB / 1.231 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.7213, allocations: 11.94 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7213, allocations: 0 / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.7214, allocations: 11.92 kB / 1.231 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.7214, allocations: 4 kB / 1.231 GB, free: 8.145 MB / 0.9512 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 9.419e-05/0.7215, allocations: 122.3 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.7215, allocations: 11.95 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.7216, allocations: 8.359 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7216, allocations: 0 / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7216, allocations: 0 / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.7216, allocations: 89.05 kB / 1.232 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.7216, allocations: 0 / 1.232 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.7217, allocations: 11.94 kB / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.7217, allocations: 7.984 kB / 1.232 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002865/0.722, allocations: 196.8 kB / 1.232 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002945/0.7223, allocations: 278.7 kB / 1.232 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.604e-05/0.7225, allocations: 27.98 kB / 1.232 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.53e-05/0.7225, allocations: 95.92 kB / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of Backend: time 6.71e-07/0.7225, allocations: 0 / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.7232, allocations: 197.5 kB / 1.232 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005046/0.7237, allocations: 0.6258 MB / 1.233 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of Templates: time 0.004153/0.7279, allocations: 1.503 MB / 1.234 GB, free: 4.914 MB / 0.9512 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