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.00152/0.00152, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001448/0.001448, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.28 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002921/0.3073, allocations: 1.544 MB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3086, allocations: 0.7246 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.3086, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.3087, allocations: 3.938 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.3087, allocations: 11.92 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.3092, allocations: 103.8 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3094, allocations: 79.77 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.958e-05/0.3095, allocations: 4 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.3096, allocations: 39.91 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.3096, allocations: 43.83 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3097, allocations: 8 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.3098, allocations: 95.84 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.3099, allocations: 19.91 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.3099, allocations: 31.86 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.3101, allocations: 100 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3101, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3101, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3101, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 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.000659/0.3108, allocations: 424.9 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3109, allocations: 8.031 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.3109, allocations: 8.844 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3111, allocations: 176.2 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3111, allocations: 4.375 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3111, allocations: 8.375 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.3113, allocations: 65.97 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3113, allocations: 0 / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3113, allocations: 7.938 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3113, allocations: 4 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3115, allocations: 35.97 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.3121, allocations: 316.7 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3123, allocations: 50.56 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.3124, allocations: 28.97 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3124, allocations: 7.938 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.3126, allocations: 75.38 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3126, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004199/0.313, allocations: 145.5 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3131, allocations: 51.41 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3132, allocations: 117.8 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3132, allocations: 25.7 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.3133, allocations: 100 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3133, allocations: 23.75 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.3134, allocations: 29.7 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3135, allocations: 326.8 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.3136, allocations: 23.98 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.3137, allocations: 50.5 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3139, allocations: 78.84 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3139, allocations: 4 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.3142, allocations: 109.5 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3142, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3142, allocations: 4 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3142, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3143, allocations: 11.98 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3143, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.3144, allocations: 11.91 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3144, allocations: 8.062 kB / 1.069 GB, free: 9.777 MB / 0.8419 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.0001104/0.3146, allocations: 126.2 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.3146, allocations: 7.906 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.3146, allocations: 12.38 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3146, allocations: 3.938 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3146, allocations: 0 / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3146, allocations: 0 / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.3151, allocations: 386.4 kB / 1.07 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3151, allocations: 0 / 1.07 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.3152, allocations: 7.984 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3152, allocations: 0 / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3152, allocations: 4 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3152, allocations: 0 / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3152, allocations: 7.875 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3155, allocations: 207.4 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.3156, allocations: 89 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3156, allocations: 4 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.3157, allocations: 7.938 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3158, allocations: 11.92 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3158, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.3159, allocations: 99.8 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3159, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003051/0.3162, allocations: 43.98 kB / 1.07 GB, free: 8.684 MB / 0.8419 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.0003467/0.3165, allocations: 155 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3168, allocations: 75.89 kB / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3168, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3169, allocations: 44.42 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.3172, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.3176, allocations: 222.9 kB / 1.071 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.318, allocations: 0.6885 MB / 1.071 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.318, allocations: 11.42 kB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.318, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of Templates: time 0.003801/0.3218, allocations: 1.627 MB / 1.073 GB, free: 5.816 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches