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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001116/0.001116, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001664/0.001664, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.972/2.972, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 8.938 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4029, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001779/0.4048, allocations: 1.178 MB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.406, allocations: 0.6936 MB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.4061, allocations: 0 / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.4061, allocations: 0 / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.4062, allocations: 11.88 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.4067, allocations: 99.77 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.4068, allocations: 67.77 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.4069, allocations: 11.98 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.407, allocations: 23.92 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.4071, allocations: 39.88 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.4071, allocations: 8 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.4073, allocations: 79.86 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.4073, allocations: 19.91 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.4074, allocations: 33.7 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.4075, allocations: 96.05 kB / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4076, allocations: 0 / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4076, allocations: 4 kB / 1.06 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.4076, allocations: 0 / 1.06 GB, free: 2.945 MB / 0.8106 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.0006112/0.4082, allocations: 408.9 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4082, allocations: 8.031 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.4083, allocations: 7.906 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.4084, allocations: 178.8 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.4085, allocations: 7.953 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4085, allocations: 8 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.4087, allocations: 65.66 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4087, allocations: 0 / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4087, allocations: 4 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4087, allocations: 0 / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.4089, allocations: 43.97 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.4095, allocations: 324.7 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.4096, allocations: 46.56 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.4097, allocations: 36.97 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4097, allocations: 0 / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.4099, allocations: 91.38 kB / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.41, allocations: 0 / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004252/0.4104, allocations: 153.5 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.4105, allocations: 55.41 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4106, allocations: 121.8 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4106, allocations: 25.7 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.4107, allocations: 96.23 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.4107, allocations: 11.83 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.4107, allocations: 8 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4108, allocations: 314.8 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.4109, allocations: 35.97 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.411, allocations: 50.5 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.469e-05/0.4111, allocations: 35.97 kB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4111, allocations: 0 / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002186/0.4113, allocations: 125.5 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4114, allocations: 4 kB / 1.062 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4114, allocations: 3.938 kB / 1.062 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4114, allocations: 0 / 1.062 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.4115, allocations: 15.98 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4115, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.4116, allocations: 15.97 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.4116, allocations: 8 kB / 1.063 GB, free: 456 kB / 0.8106 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.4117, allocations: 125 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.4117, allocations: 7.891 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.4118, allocations: 12.38 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4118, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4118, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4118, allocations: 7.922 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.4123, allocations: 390.4 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4123, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.4123, allocations: 4 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4123, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4123, allocations: 7.984 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4123, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4124, allocations: 4 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.4126, allocations: 215.3 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.4127, allocations: 85.09 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.4127, allocations: 0 / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.4128, allocations: 12 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.4129, allocations: 7.984 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4129, allocations: 0 / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.4129, allocations: 95.92 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4129, allocations: 7.875 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002811/0.4132, allocations: 39.91 kB / 1.064 GB, free: 15.35 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003403/0.4136, allocations: 159.8 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.4138, allocations: 75.88 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4138, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.4139, allocations: 43.91 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.4142, allocations: 20.06 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.4146, allocations: 203.1 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4149, allocations: 0.6899 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.4149, allocations: 8.172 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.415, allocations: 7.438 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.415, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.003992/0.419, allocations: 1.349 MB / 1.066 GB, free: 12.75 MB / 0.8262 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