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.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.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.007236/0.007236, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001814/0.001814, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.332/1.332, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 66.02 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002849/0.2964, allocations: 1.537 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2977, allocations: 0.7477 MB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.2977, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.2978, allocations: 4 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.2979, allocations: 11.86 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.2984, allocations: 103.8 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.2985, allocations: 67.83 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.2986, allocations: 15.98 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.2987, allocations: 27.86 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.2988, allocations: 39.89 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.2988, allocations: 7.938 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.299, allocations: 91.91 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.299, allocations: 11.92 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.2991, allocations: 31.86 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.2992, allocations: 100 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2993, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2993, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.2993, allocations: 0 / 1.055 GB, free: 5.434 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.0006334/0.2999, allocations: 425 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3, allocations: 11.97 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.3, allocations: 8.844 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3001, allocations: 180.2 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3002, allocations: 4.375 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3002, allocations: 4.375 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3004, allocations: 73.95 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3004, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3004, allocations: 4 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3004, allocations: 4 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3006, allocations: 35.97 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.3012, allocations: 316.7 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.3013, allocations: 54.55 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.198e-05/0.3014, allocations: 32.97 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3014, allocations: 0 / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.3016, allocations: 75.38 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3016, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003981/0.302, allocations: 145.5 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.3021, allocations: 59.41 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.3022, allocations: 121.8 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.3022, allocations: 29.7 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.3023, allocations: 84.14 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.3023, allocations: 23.73 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3023, allocations: 25.72 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.3025, allocations: 330.7 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.3025, allocations: 23.98 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.3026, allocations: 50.55 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3028, allocations: 66.5 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3028, allocations: 4 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002368/0.3031, allocations: 121.8 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3031, allocations: 8 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3031, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3031, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.3032, allocations: 15.92 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3032, allocations: 4 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.3033, allocations: 11.89 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3033, allocations: 8 kB / 1.058 GB, free: 2.871 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 8.933e-05/0.3034, allocations: 121.8 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.3034, allocations: 4 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.3035, allocations: 8.375 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3035, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3035, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3035, allocations: 3.984 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.304, allocations: 382.3 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.304, allocations: 7.984 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.304, allocations: 0 / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.304, allocations: 4 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.304, allocations: 4 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.304, allocations: 0 / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3041, allocations: 3.938 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.3043, allocations: 219.3 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3044, allocations: 81.11 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3044, allocations: 0 / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.3045, allocations: 11.92 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3046, allocations: 11.94 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3046, allocations: 3.984 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.3046, allocations: 91.94 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3046, allocations: 0 / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003173/0.305, allocations: 39.98 kB / 1.059 GB, free: 1.793 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.0003319/0.3053, allocations: 162.2 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.3056, allocations: 71.89 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3056, allocations: 0 / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.3057, allocations: 35.98 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3059, allocations: 8.125 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.3064, allocations: 236.2 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3066, allocations: 0.6887 MB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.3066, allocations: 11.44 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3066, allocations: 0 / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of Templates: time 0.003326/0.3099, allocations: 1.621 MB / 1.061 GB, free: 14.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches