Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008643/0.008643, allocations: 100.6 kB / 15.73 MB, free: 6.492 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.001731/0.001731, allocations: 193.1 kB / 16.68 MB, free: 6.371 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.385, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003458/0.3885, allocations: 1.483 MB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.39, allocations: 0.7362 MB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.3901, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.395e-05/0.3902, allocations: 7.875 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.139e-05/0.3902, allocations: 11.88 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.3911, allocations: 123.6 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3913, allocations: 75.81 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3914, allocations: 11.95 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3915, allocations: 35.86 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.3916, allocations: 39.81 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3917, allocations: 8 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.3919, allocations: 95.91 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.392, allocations: 15.92 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.392, allocations: 35.8 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.3924, allocations: 143.5 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3924, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3924, allocations: 4 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.3924, allocations: 3.938 kB / 1.223 GB, free: 11.03 MB / 0.9825 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.0009192/0.3933, allocations: 420.7 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3934, allocations: 8.031 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.3934, allocations: 12.89 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.3936, allocations: 168.3 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.3937, allocations: 8.375 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3937, allocations: 4.375 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3939, allocations: 81.83 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.394, allocations: 4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.394, allocations: 4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.394, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.3942, allocations: 31.98 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.395, allocations: 320.7 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3952, allocations: 46.5 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3953, allocations: 32.97 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3954, allocations: 0 / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.3957, allocations: 75.38 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.3957, allocations: 4 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005403/0.3962, allocations: 137.5 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3963, allocations: 59.39 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3964, allocations: 125.7 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3964, allocations: 29.7 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.3965, allocations: 88.12 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.3965, allocations: 19.97 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.3966, allocations: 33.7 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3967, allocations: 322.8 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.3968, allocations: 23.97 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.397, allocations: 46.56 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.3972, allocations: 78.48 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3972, allocations: 0 / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003125/0.3975, allocations: 113.9 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3975, allocations: 5.719 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3975, allocations: 3.938 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3975, allocations: 0 / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3977, allocations: 15.98 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3977, allocations: 4.062 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.3978, allocations: 16 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3978, allocations: 4 kB / 1.226 GB, free: 8.48 MB / 0.9825 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.0001378/0.3979, allocations: 126.2 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3979, allocations: 7.953 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.398, allocations: 12.36 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.398, allocations: 0 / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.398, allocations: 3.938 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.398, allocations: 0 / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.3986, allocations: 386.4 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3986, allocations: 0 / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.3986, allocations: 7.938 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3986, allocations: 0 / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.3986, allocations: 3.984 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3986, allocations: 0 / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3987, allocations: 7.938 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.399, allocations: 207.5 kB / 1.226 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.3991, allocations: 81.06 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3991, allocations: 7.984 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3992, allocations: 0 / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.3993, allocations: 15.92 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3993, allocations: 0 / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.721e-05/0.3994, allocations: 95.27 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3994, allocations: 4 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004694/0.3998, allocations: 39.88 kB / 1.227 GB, free: 7.387 MB / 0.9825 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.0004178/0.4002, allocations: 164.3 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.4005, allocations: 71.94 kB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4005, allocations: 4.125 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.4007, allocations: 35.92 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.401, allocations: 8.922 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.4016, allocations: 188.7 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4019, allocations: 0.6885 MB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.435e-05/0.402, allocations: 8 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.402, allocations: 15.42 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.402, allocations: 3.938 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.005466/0.4075, allocations: 1.456 MB / 1.229 GB, free: 4.719 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0