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 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.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.006953/0.006953, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001579/0.001579, allocations: 186.8 kB / 16.67 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.822/2.822, allocations: 461.9 MB / 0.7348 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 72.02 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2998, allocations: 157.4 MB / 1.208 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002339/0.3022, allocations: 1.475 MB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3033, allocations: 0.7327 MB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.3034, allocations: 0 / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.3034, allocations: 3.938 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.3035, allocations: 11.88 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.304, allocations: 127.6 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.3041, allocations: 75.77 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.3042, allocations: 19.94 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.3043, allocations: 31.86 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.3044, allocations: 43.81 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3044, allocations: 8 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.3045, allocations: 95.84 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.3046, allocations: 23.92 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.3046, allocations: 27.86 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3048, allocations: 139.6 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3048, allocations: 0 / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3048, allocations: 0 / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3048, allocations: 0 / 1.21 GB, free: 6.922 MB / 0.9669 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.0005374/0.3054, allocations: 421 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.3054, allocations: 8.031 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3055, allocations: 12.84 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.3056, allocations: 176.2 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3056, allocations: 4.375 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3056, allocations: 4.312 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3058, allocations: 77.91 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3058, allocations: 0 / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3058, allocations: 3.984 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3058, allocations: 7.938 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.306, allocations: 35.97 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.3066, allocations: 320.7 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.3067, allocations: 46.5 kB / 1.212 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.3068, allocations: 32.97 kB / 1.212 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3068, allocations: 7.984 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.307, allocations: 87.44 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.307, allocations: 0 / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003655/0.3074, allocations: 133.6 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3074, allocations: 59.39 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.3075, allocations: 125.7 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3075, allocations: 29.7 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.3076, allocations: 92.12 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.3076, allocations: 15.75 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.3077, allocations: 33.7 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.3078, allocations: 318.8 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.3078, allocations: 27.97 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.94e-05/0.3079, allocations: 46.56 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3081, allocations: 78.47 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3081, allocations: 0 / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002352/0.3084, allocations: 113.5 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3084, allocations: 5.562 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3084, allocations: 8.062 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3084, allocations: 0 / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.3085, allocations: 11.98 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3085, allocations: 3.938 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.3086, allocations: 8 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3086, allocations: 4 kB / 1.213 GB, free: 4.363 MB / 0.9669 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.259e-05/0.3087, allocations: 124.8 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.3087, allocations: 7.906 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.3087, allocations: 16.36 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3088, allocations: 4 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3088, allocations: 0 / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.3088, allocations: 0 / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.3092, allocations: 382.3 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3092, allocations: 0 / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.3092, allocations: 4 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3092, allocations: 0 / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3093, allocations: 11.98 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3093, allocations: 7.938 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3093, allocations: 3.938 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3096, allocations: 199.9 kB / 1.213 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.3096, allocations: 85.02 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3096, allocations: 3.984 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.3097, allocations: 8 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.3098, allocations: 11.92 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3098, allocations: 4 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.3098, allocations: 91.27 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3098, allocations: 3.938 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002751/0.3101, allocations: 36 kB / 1.214 GB, free: 3.277 MB / 0.9669 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.0003152/0.3104, allocations: 174.7 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.3107, allocations: 71.89 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3107, allocations: 0 / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.3108, allocations: 31.98 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3111, allocations: 14.42 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.3114, allocations: 192.9 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3117, allocations: 0.6938 MB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.3117, allocations: 4 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.3118, allocations: 15.44 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3118, allocations: 0 / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of Templates: time 0.003916/0.3157, allocations: 1.471 MB / 1.216 GB, free: 0.5781 MB / 0.9669 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/jenkins/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