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: 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_latest_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_latest_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.001061/0.001061, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00964/0.009641, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.818/2.818, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 6.031 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3237, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001673/0.3254, allocations: 1.202 MB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3268, allocations: 0.7284 MB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.3268, allocations: 4 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.3269, allocations: 4 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.3269, allocations: 11.86 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.3275, allocations: 103.7 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.958e-05/0.3276, allocations: 67.84 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.3277, allocations: 11.97 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.3278, allocations: 31.92 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.3279, allocations: 39.77 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.3279, allocations: 4 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3281, allocations: 91.91 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.3281, allocations: 15.92 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.3282, allocations: 53.56 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.3284, allocations: 131.9 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3284, allocations: 3.938 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3284, allocations: 0 / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3284, allocations: 3.938 kB / 1.061 GB, free: 2.984 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.0006044/0.3291, allocations: 406.3 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3291, allocations: 12.03 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.3292, allocations: 8.844 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3293, allocations: 176.2 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.3293, allocations: 4.375 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.3293, allocations: 8.359 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3295, allocations: 77.97 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3296, allocations: 4 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3296, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3296, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3297, allocations: 47.91 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.3303, allocations: 320.7 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3304, allocations: 46.56 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.3305, allocations: 32.97 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3305, allocations: 11.92 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3307, allocations: 87.38 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3307, allocations: 0 / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003809/0.3311, allocations: 149.6 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.3311, allocations: 51.41 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.3312, allocations: 125.7 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3313, allocations: 29.7 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.3313, allocations: 92.12 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3314, allocations: 19.75 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.3314, allocations: 17.72 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.3315, allocations: 322.8 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3316, allocations: 27.98 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.3317, allocations: 58.48 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3319, allocations: 82.84 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3319, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.3321, allocations: 117.5 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3322, allocations: 8 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3322, allocations: 0 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3322, allocations: 8.047 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.3323, allocations: 11.94 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3323, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.3324, allocations: 11.98 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3324, allocations: 4 kB / 1.063 GB, free: 412 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,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 8.613e-05/0.3325, allocations: 117.8 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.3325, allocations: 7.906 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.3325, allocations: 16.38 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3325, allocations: 11.92 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3326, allocations: 3.938 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3326, allocations: 0 / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.333, allocations: 386.3 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.333, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.3331, allocations: 8 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3331, allocations: 4 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3331, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3331, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.3331, allocations: 7.922 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.3335, allocations: 219.4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.3335, allocations: 85.02 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3336, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.3337, allocations: 7.984 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3337, allocations: 11.94 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3337, allocations: 3.984 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.3338, allocations: 91.27 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3338, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002885/0.3341, allocations: 36 kB / 1.064 GB, free: 15.3 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 (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.0003163/0.3344, allocations: 163.2 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.3346, allocations: 76.12 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3347, allocations: 8.125 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/0.3348, allocations: 32.14 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.335, allocations: 8 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.3354, allocations: 227.1 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3357, allocations: 0.6887 MB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.3357, allocations: 4 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.3358, allocations: 15.42 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3358, allocations: 0 / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.004422/0.3402, allocations: 1.357 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (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 & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0