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.007608/0.007608, allocations: 100.4 kB / 15.73 MB, free: 6.062 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.001703/0.001703, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.91 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9603/0.9616, allocations: 157.4 MB / 1.208 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002816/0.9645, allocations: 1.474 MB / 1.209 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.9657, allocations: 0.7245 MB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.9658, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.9658, allocations: 3.938 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.9659, allocations: 11.86 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.9665, allocations: 127.6 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.9666, allocations: 75.77 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.9667, allocations: 11.95 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.9668, allocations: 39.84 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.9669, allocations: 43.77 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.9669, allocations: 8 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.9671, allocations: 95.91 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.9672, allocations: 15.92 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.9672, allocations: 35.78 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.9674, allocations: 141.5 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9675, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9675, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.9675, allocations: 0 / 1.21 GB, free: 10.91 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.0005761/0.968, allocations: 424.9 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.9681, allocations: 8.031 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.9681, allocations: 8.844 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.9683, allocations: 168.3 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.9683, allocations: 4.375 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.9683, allocations: 8.375 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.9685, allocations: 69.91 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.9685, allocations: 11.98 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.9685, allocations: 0 / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.9685, allocations: 3.984 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.9686, allocations: 31.98 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.9692, allocations: 320.7 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.9693, allocations: 54.5 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.9694, allocations: 32.97 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.9695, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.9696, allocations: 79.38 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.9696, allocations: 0 / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003593/0.97, allocations: 145.8 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.9701, allocations: 67.33 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.9701, allocations: 121.7 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.9702, allocations: 29.7 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.9702, allocations: 88.14 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.9702, allocations: 15.8 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.9703, allocations: 29.7 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9704, allocations: 322.8 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.9705, allocations: 23.98 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.9706, allocations: 54.92 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.9708, allocations: 74.48 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9708, allocations: 4 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002353/0.971, allocations: 105.5 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.971, allocations: 11.98 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.9711, allocations: 0 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.9711, allocations: 3.938 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.9712, allocations: 8 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.9712, allocations: 4 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.9713, allocations: 15.92 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.9713, allocations: 4.062 kB / 1.213 GB, free: 8.359 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.662e-05/0.9714, allocations: 125.7 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.9714, allocations: 7.906 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.9715, allocations: 12.36 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.9715, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.9715, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.9715, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.972, allocations: 382.4 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.972, allocations: 4 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.972, allocations: 7.938 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.972, allocations: 4 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.9721, allocations: 3.984 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9721, allocations: 0 / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9721, allocations: 3.938 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.9723, allocations: 211.4 kB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.9724, allocations: 81.02 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.9724, allocations: 7.984 kB / 1.213 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.9725, allocations: 4 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.9725, allocations: 7.938 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.9725, allocations: 3.984 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.9726, allocations: 95.27 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9726, allocations: 0 / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002816/0.9729, allocations: 36 kB / 1.214 GB, free: 7.277 MB / 0.9356 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.0003106/0.9732, allocations: 172.9 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.9734, allocations: 67.94 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9735, allocations: 0 / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.9736, allocations: 48.05 kB / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.9738, allocations: 3.984 kB / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.9742, allocations: 192.2 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.9745, allocations: 0.6938 MB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.9745, allocations: 4 kB / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.9745, allocations: 15.38 kB / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of SimCode: time 1.91e-07/0.9745, allocations: 0 / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of Templates: time 0.003875/0.9784, allocations: 1.484 MB / 1.216 GB, free: 4.57 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/jenkins/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