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.009645/0.009644, allocations: 100.8 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.001641/0.001641, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.393/1.393, 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.571/2.571, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.05 kB / 1.054 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9706/0.9719, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002719/0.9746, allocations: 1.471 MB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.976, allocations: 0.7283 MB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.9761, allocations: 0 / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.9762, allocations: 3.938 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.9762, allocations: 19.84 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.9769, allocations: 127.6 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.9771, allocations: 71.78 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.9772, allocations: 15.94 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.9773, allocations: 39.84 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.9773, allocations: 35.84 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.9774, allocations: 8 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.9776, allocations: 95.89 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.9776, allocations: 15.98 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.9777, allocations: 39.78 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.9779, allocations: 147.4 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.978, allocations: 4 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.885e-06/0.978, allocations: 0 / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.978, allocations: 0 / 1.21 GB, free: 10.85 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.0006991/0.9787, allocations: 410.8 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9787, allocations: 8.031 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.9788, allocations: 8.844 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.9789, allocations: 176.3 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.979, allocations: 384 / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.979, allocations: 8.375 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.9793, allocations: 73.91 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.9793, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.9793, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.9793, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.9795, allocations: 43.95 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.9803, allocations: 320.7 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.9805, allocations: 50.48 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.9806, allocations: 32.97 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.9807, allocations: 4 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.9809, allocations: 79.38 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.516e-06/0.9809, allocations: 7.922 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005162/0.9815, allocations: 137.5 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.9815, allocations: 63.41 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.9817, allocations: 129.7 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.9817, allocations: 25.7 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.9818, allocations: 96.14 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.9818, allocations: 7.812 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.9819, allocations: 29.7 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.982, allocations: 326.8 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.9821, allocations: 23.98 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.9823, allocations: 50.55 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.9825, allocations: 74.5 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9825, allocations: 0 / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003398/0.9829, allocations: 109.5 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.9829, allocations: 4 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9829, allocations: 0 / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.9829, allocations: 8.062 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.9831, allocations: 11.98 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.9831, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.9832, allocations: 11.94 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.9832, allocations: 7.984 kB / 1.213 GB, free: 8.312 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 0.0001311/0.9834, allocations: 121.7 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.9834, allocations: 7.906 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.9834, allocations: 8.375 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.9834, allocations: 8 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9835, allocations: 3.938 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.9835, allocations: 3.984 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.9841, allocations: 378.5 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9841, allocations: 0 / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.9841, allocations: 11.92 kB / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9842, allocations: 0 / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.9842, allocations: 0 / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9842, allocations: 0 / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9842, allocations: 11.94 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.9846, allocations: 203.9 kB / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.9847, allocations: 85.02 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.9847, allocations: 4 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.9848, allocations: 7.984 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.9849, allocations: 3.938 kB / 1.213 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.9849, allocations: 8 kB / 1.213 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.882e-05/0.985, allocations: 91.27 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.985, allocations: 0 / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004879/0.9855, allocations: 43.92 kB / 1.214 GB, free: 7.227 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.0004353/0.986, allocations: 165.1 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.9863, allocations: 79.94 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9863, allocations: 0 / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.9864, allocations: 35.92 kB / 1.214 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.9869, allocations: 11.92 kB / 1.214 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.9874, allocations: 188.9 kB / 1.214 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.9878, allocations: 0.6901 MB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.9878, allocations: 7.984 kB / 1.215 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.9879, allocations: 11.44 kB / 1.215 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.9879, allocations: 0 / 1.215 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of Templates: time 0.006024/0.9939, allocations: 1.467 MB / 1.216 GB, free: 4.543 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