Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001611/0.001611, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 61.59 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3079, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002252/0.3102, allocations: 1.544 MB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.3112, allocations: 0.7323 MB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.3112, allocations: 3.938 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.3113, allocations: 11.92 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.3113, allocations: 7.922 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.3117, allocations: 103.8 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.577e-05/0.3118, allocations: 67.83 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.3119, allocations: 19.98 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.312, allocations: 31.86 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.3121, allocations: 43.81 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3121, allocations: 8 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3122, allocations: 95.91 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.3123, allocations: 15.92 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.3123, allocations: 35.84 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.3125, allocations: 151.8 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3125, allocations: 0 / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3125, allocations: 0 / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.3125, allocations: 0 / 1.055 GB, free: 5.801 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.0004939/0.313, allocations: 409 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.313, allocations: 8.625 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.3131, allocations: 42.73 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.3131, allocations: 8.844 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.3132, allocations: 172.2 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3132, allocations: 4.375 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3133, allocations: 4.375 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3134, allocations: 81.7 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3134, allocations: 3.938 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3135, allocations: 3.984 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3135, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3136, allocations: 35.92 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.3141, allocations: 324.8 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3142, allocations: 42.56 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.421e-05/0.3143, allocations: 32.97 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3143, allocations: 3.938 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.3145, allocations: 83.38 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3145, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003352/0.3148, allocations: 133.5 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3149, allocations: 59.39 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.315, allocations: 121.8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.315, allocations: 25.7 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.315, allocations: 104 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.315, allocations: 15.83 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.3151, allocations: 29.7 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.3152, allocations: 322.8 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.3153, allocations: 27.97 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.3153, allocations: 42.56 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3155, allocations: 74.55 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3155, allocations: 3.938 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000208/0.3157, allocations: 113.5 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.3157, allocations: 5.562 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.3157, allocations: 0 / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.3158, allocations: 8.062 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.3158, allocations: 12 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3159, allocations: 3.984 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.3159, allocations: 15.84 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.316, allocations: 4 kB / 1.057 GB, free: 3.211 MB / 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,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 7.079e-05/0.316, allocations: 117.8 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.316, allocations: 7.906 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.3161, allocations: 20.3 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3161, allocations: 4 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3161, allocations: 0 / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3161, allocations: 0 / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.3165, allocations: 378.4 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3165, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.3165, allocations: 4 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3165, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3166, allocations: 3.984 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3166, allocations: 11.88 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3166, allocations: 3.938 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3168, allocations: 207.4 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.3169, allocations: 81.11 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3169, allocations: 3.984 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.317, allocations: 3.938 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.317, allocations: 15.98 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.317, allocations: 4 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.3171, allocations: 91.27 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3171, allocations: 0 / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002595/0.3173, allocations: 39.91 kB / 1.058 GB, free: 2.133 MB / 0.8106 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.0006337/0.318, allocations: 0.8042 MB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3182, allocations: 79.83 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3182, allocations: 0 / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.3183, allocations: 31.98 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3185, allocations: 20 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3199, allocations: 1.503 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.3201, allocations: 0.6922 MB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.3201, allocations: 4 kB / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.3202, allocations: 23.42 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3202, allocations: 0 / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.351/2.671, allocations: 2.5 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/2.672, allocations: 274.4 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/4.57, allocations: 8.078 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed