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.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.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.0009931/0.0009931, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001206/0.001206, allocations: 168.7 kB / 15.95 MB, free: 204 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.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.958/2.958, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 8.844 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4025, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001988/0.4045, allocations: 1.19 MB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.4059, allocations: 0.6782 MB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.4059, allocations: 4 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.406, allocations: 3.938 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.4061, allocations: 7.922 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.4067, allocations: 91.77 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.4069, allocations: 67.78 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.407, allocations: 11.98 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.4071, allocations: 31.91 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.4072, allocations: 31.84 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4072, allocations: 4 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.4074, allocations: 87.84 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.4075, allocations: 15.97 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.4075, allocations: 41.58 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.4077, allocations: 104 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4077, allocations: 0 / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4077, allocations: 0 / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4078, allocations: 4 kB / 1.06 GB, free: 2.934 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.0006781/0.4084, allocations: 396.9 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4085, allocations: 12.03 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.4085, allocations: 7.906 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.4087, allocations: 182.9 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.4088, allocations: 3.953 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.4088, allocations: 4 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.409, allocations: 73.66 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.409, allocations: 0 / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.409, allocations: 4 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.409, allocations: 0 / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.4092, allocations: 43.91 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.4099, allocations: 324.8 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.41, allocations: 46.56 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.4101, allocations: 40.95 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4101, allocations: 0 / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.4104, allocations: 83.38 kB / 1.061 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.4104, allocations: 4 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004206/0.4108, allocations: 145.5 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4108, allocations: 55.41 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.4109, allocations: 125.7 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.411, allocations: 33.7 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.411, allocations: 88.23 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.4111, allocations: 15.84 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.4111, allocations: 4 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4112, allocations: 326.8 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.4113, allocations: 31.92 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.4114, allocations: 50.55 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.269e-05/0.4115, allocations: 35.98 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4115, allocations: 0 / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002284/0.4118, allocations: 117.5 kB / 1.062 GB, free: 500 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4118, allocations: 5.719 kB / 1.062 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4118, allocations: 4 kB / 1.062 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4118, allocations: 8.047 kB / 1.062 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.4119, allocations: 8 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4119, allocations: 4 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.412, allocations: 11.89 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.412, allocations: 8.328 kB / 1.063 GB, free: 452 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 0.0001068/0.4121, allocations: 128.6 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.4122, allocations: 7.906 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.4122, allocations: 8.375 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4122, allocations: 3.984 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4122, allocations: 4 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4122, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.4127, allocations: 394.3 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4128, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.4128, allocations: 8 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.4128, allocations: 3.984 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4128, allocations: 7.938 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4128, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4128, allocations: 3.984 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.4131, allocations: 219.4 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.4132, allocations: 77.11 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.4132, allocations: 4 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.4133, allocations: 7.984 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.4134, allocations: 3.938 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4134, allocations: 7.984 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.4134, allocations: 95.27 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4134, allocations: 0 / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000308/0.4138, allocations: 39.91 kB / 1.064 GB, free: 15.34 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.0003682/0.4141, allocations: 162.4 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.4144, allocations: 79.95 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4144, allocations: 4.062 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.4145, allocations: 35.98 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.4148, allocations: 7.953 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.0004258/0.4152, allocations: 219 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4155, allocations: 0.6904 MB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.4155, allocations: 4.188 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.4155, allocations: 15.42 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4155, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.0046/0.4201, allocations: 1.337 MB / 1.066 GB, free: 12.75 MB / 0.8262 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