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 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.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.001306/0.001306, allocations: 107.8 kB / 16.41 MB, free: 6.449 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.001335/0.001335, allocations: 192.3 kB / 17.35 MB, free: 5.707 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.319/1.319, 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 12.0.0-master/package.mo): time 2.583/2.583, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.03 kB / 1.07 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7016, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002484/0.7041, allocations: 1.473 MB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.7054, allocations: 0.7334 MB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.7055, allocations: 3.938 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.7055, allocations: 3.938 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.7056, allocations: 15.86 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.7061, allocations: 119.6 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.7062, allocations: 79.81 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.7063, allocations: 11.95 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.7064, allocations: 43.84 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.7065, allocations: 43.83 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.7065, allocations: 8 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.7067, allocations: 87.91 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.7067, allocations: 15.92 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.7068, allocations: 31.86 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.707, allocations: 148 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.707, allocations: 0 / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.707, allocations: 0 / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.707, 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.0005829/0.7076, allocations: 428.7 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.7076, allocations: 8.031 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.7077, allocations: 8.891 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7078, allocations: 176.3 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.7078, allocations: 384 / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.7079, allocations: 4.375 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.708, allocations: 77.91 kB / 1.23 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7081, allocations: 0 / 1.23 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.7081, allocations: 7.938 kB / 1.23 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7081, allocations: 4 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.7082, allocations: 35.97 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.7088, allocations: 316.7 kB / 1.23 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.7089, allocations: 46.56 kB / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.709, allocations: 36.91 kB / 1.23 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.709, allocations: 3.984 kB / 1.23 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.7092, allocations: 75.45 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.7092, allocations: 0 / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003759/0.7096, allocations: 145.8 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.7096, allocations: 51.41 kB / 1.23 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.7097, allocations: 129.7 kB / 1.231 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.7098, allocations: 33.69 kB / 1.231 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.7098, allocations: 92.08 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.7098, allocations: 11.91 kB / 1.231 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.7099, allocations: 33.7 kB / 1.231 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.71, allocations: 318.8 kB / 1.231 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.7101, allocations: 31.98 kB / 1.231 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.7102, allocations: 42.56 kB / 1.231 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.7103, allocations: 82.53 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7104, allocations: 0 / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002228/0.7106, allocations: 117.5 kB / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7106, allocations: 4 kB / 1.231 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7106, allocations: 4 kB / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7106, allocations: 0 / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.7107, allocations: 15.92 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.7107, allocations: 0 / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.7108, allocations: 7.938 kB / 1.231 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.7108, allocations: 8 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.065e-05/0.7109, allocations: 130.3 kB / 1.231 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.711, allocations: 7.953 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.711, allocations: 4.375 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.711, allocations: 4 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.711, allocations: 4 kB / 1.231 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.711, allocations: 85.06 kB / 1.232 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.7111, allocations: 3.984 kB / 1.232 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.7111, allocations: 7.938 kB / 1.232 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.7112, allocations: 11.98 kB / 1.232 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002777/0.7115, allocations: 184.9 kB / 1.232 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002918/0.7118, allocations: 282.7 kB / 1.232 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.67e-05/0.7119, allocations: 31.98 kB / 1.232 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.7119, allocations: 99.27 kB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of Backend: time 2.91e-07/0.7119, allocations: 0 / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006012/0.7125, allocations: 183.4 kB / 1.232 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004505/0.713, allocations: 0.6376 MB / 1.233 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of Templates: time 0.003826/0.7168, allocations: 1.494 MB / 1.234 GB, free: 4.91 MB / 0.9512 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