Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009653/0.0009654, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009377/0.0009377, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437.8 MB / 0.7128 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 8 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6634, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001702/0.6652, allocations: 1.196 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.6665, allocations: 0.7209 MB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.6666, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.6666, allocations: 3.984 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.6667, allocations: 7.875 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.6672, allocations: 103.8 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.6674, allocations: 71.72 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.6675, allocations: 15.98 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.6676, allocations: 31.91 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.6676, allocations: 35.78 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.6677, allocations: 4 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.6679, allocations: 91.84 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.6679, allocations: 19.91 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.668, allocations: 53.56 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.6682, allocations: 97.78 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6682, allocations: 3.984 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6682, allocations: 0 / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6682, allocations: 0 / 1.026 GB, free: 13.37 MB / 0.7794 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.0005613/0.6688, allocations: 413 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.6688, allocations: 8.031 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.6689, allocations: 12.83 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.669, allocations: 176.2 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.669, allocations: 4.375 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.669, allocations: 12.31 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.6692, allocations: 77.95 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.6693, allocations: 0 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.6693, allocations: 0 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6693, allocations: 4 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.6694, allocations: 39.97 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.67, allocations: 324.7 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.6702, allocations: 58.48 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.6703, allocations: 36.97 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.6703, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.6705, allocations: 83.28 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.6705, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003888/0.6709, allocations: 145.6 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.6709, allocations: 59.41 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.671, allocations: 129.7 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.6711, allocations: 25.7 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.6711, allocations: 88.22 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.6711, allocations: 19.78 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.6712, allocations: 17.72 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6713, allocations: 330.8 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-05/0.6714, allocations: 27.98 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.151e-05/0.6715, allocations: 46.56 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.6717, allocations: 82.48 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6717, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002501/0.6719, allocations: 117.5 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.672, allocations: 8.062 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.672, allocations: 3.938 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.672, allocations: 4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.6721, allocations: 19.92 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6721, allocations: 0 / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/0.6722, allocations: 11.94 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.6722, allocations: 3.938 kB / 1.028 GB, free: 10.78 MB / 0.7794 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 9.353e-05/0.6723, allocations: 135.7 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.6723, allocations: 3.906 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.6723, allocations: 12.38 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6724, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6724, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6724, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.6729, allocations: 394.4 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6729, allocations: 0 / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.6729, allocations: 7.984 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6729, allocations: 4 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6729, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.673, allocations: 4 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.673, allocations: 3.938 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.6733, allocations: 215.9 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.6733, allocations: 81.02 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.6733, allocations: 4 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.6734, allocations: 4 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.6735, allocations: 15.86 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.6735, allocations: 4 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.6735, allocations: 91.27 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6735, allocations: 4 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002973/0.6738, allocations: 43.92 kB / 1.029 GB, free: 9.672 MB / 0.7794 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.0003276/0.6742, allocations: 167.3 kB / 1.03 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.6744, allocations: 79.89 kB / 1.03 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6744, allocations: 0 / 1.03 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.6745, allocations: 43.97 kB / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.6748, allocations: 4 kB / 1.03 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.6752, allocations: 244.9 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.6754, allocations: 0.6848 MB / 1.031 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.6755, allocations: 15.42 kB / 1.031 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6755, allocations: 0 / 1.031 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of Templates: time 0.003403/0.6789, allocations: 1.591 MB / 1.032 GB, free: 6.797 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches