Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,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.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007442/0.007447, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001826/0.001826, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.896, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002431/0.8985, allocations: 1.477 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.8996, allocations: 0.7245 MB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.8997, allocations: 4 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.8998, allocations: 3.938 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.982e-05/0.8998, allocations: 11.86 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.9003, allocations: 119.6 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.9005, allocations: 87.69 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.9006, allocations: 15.95 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.577e-05/0.9007, allocations: 35.84 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.9008, allocations: 39.83 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.9008, allocations: 8 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.901, allocations: 95.84 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.901, allocations: 19.92 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.9011, allocations: 35.84 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.9013, allocations: 143.5 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9013, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9013, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.9013, allocations: 0 / 1.21 GB, free: 10.8 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.0006301/0.902, allocations: 418.8 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.902, allocations: 8.031 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.902, allocations: 8.844 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.9022, allocations: 176.2 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.9023, allocations: 4.375 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.9023, allocations: 8.359 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.9025, allocations: 69.97 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.9025, allocations: 0 / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.9025, allocations: 3.984 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9025, allocations: 4 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.9027, allocations: 35.97 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.9032, allocations: 328.6 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.9034, allocations: 46.56 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.9035, allocations: 28.97 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.9035, allocations: 4 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.9037, allocations: 79.38 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.9037, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004086/0.9041, allocations: 141.5 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.9042, allocations: 55.41 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.9043, allocations: 125.7 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.9043, allocations: 25.7 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.9044, allocations: 100.2 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.9044, allocations: 15.81 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.9045, allocations: 29.7 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9046, allocations: 318.8 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.9047, allocations: 27.97 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.9048, allocations: 42.56 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.9049, allocations: 82.78 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.905, allocations: 0 / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000242/0.9052, allocations: 113.5 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9052, allocations: 8 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9052, allocations: 3.938 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.9053, allocations: 4.062 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.9053, allocations: 11.98 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.9054, allocations: 4 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.9054, allocations: 15.88 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.9055, allocations: 3.938 kB / 1.213 GB, free: 8.25 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.0001035/0.9056, allocations: 123.3 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.9056, allocations: 7.891 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.9056, allocations: 12.38 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9056, allocations: 8 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9056, allocations: 0 / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.9056, allocations: 0 / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.9061, allocations: 378.4 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9061, allocations: 0 / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.9062, allocations: 4 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9062, allocations: 0 / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.9062, allocations: 11.98 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9062, allocations: 4 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9062, allocations: 3.938 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.9065, allocations: 199.4 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.9065, allocations: 89 kB / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.9066, allocations: 0 / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.9067, allocations: 8 kB / 1.213 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.9067, allocations: 15.86 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.9067, allocations: 4 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.9068, allocations: 91.27 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9068, allocations: 4 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003244/0.9071, allocations: 39.94 kB / 1.214 GB, free: 7.164 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.0003278/0.9075, allocations: 167.1 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.9077, allocations: 75.88 kB / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.9077, allocations: 0 / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.9078, allocations: 32.38 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.9081, allocations: 11.98 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.9085, allocations: 190.3 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.9088, allocations: 0.6938 MB / 1.215 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.684e-05/0.9088, allocations: 4 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.9089, allocations: 19.42 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.9089, allocations: 0 / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.004181/0.9131, allocations: 1.448 MB / 1.216 GB, free: 4.492 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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