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.001689/0.001689, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001856/0.001856, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.664/2.664, allocations: 469.8 MB / 0.743 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 65.7 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3251, allocations: 159.1 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002664/0.3278, allocations: 1.479 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.329, allocations: 0.7245 MB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.3291, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.3291, allocations: 7.922 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.3292, allocations: 15.86 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.3297, allocations: 127.6 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3299, allocations: 67.84 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.33, allocations: 15.98 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.33, allocations: 31.86 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.3301, allocations: 39.83 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3301, allocations: 8 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.3303, allocations: 91.91 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.3304, allocations: 23.92 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.3304, allocations: 39.78 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3307, allocations: 143.9 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3307, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3307, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3307, allocations: 0 / 1.067 GB, free: 11.95 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.0006474/0.3313, allocations: 414.9 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3314, allocations: 8.031 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.3314, allocations: 8.844 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3316, allocations: 184.2 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.3316, allocations: 4.375 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3316, allocations: 8.375 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3318, allocations: 69.91 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3319, allocations: 3.984 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3319, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3319, allocations: 7.938 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.332, allocations: 35.97 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.3326, allocations: 316.8 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3328, allocations: 50.56 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.3329, allocations: 40.89 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3329, allocations: 8 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.3331, allocations: 75.36 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3331, allocations: 0 / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004376/0.3336, allocations: 137.5 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3336, allocations: 51.41 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3337, allocations: 129.8 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3338, allocations: 25.7 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.3338, allocations: 100.1 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.3339, allocations: 15.75 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.3339, allocations: 29.7 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3341, allocations: 322.8 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.3342, allocations: 27.98 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.3343, allocations: 46.56 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3345, allocations: 74.48 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3345, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.3347, allocations: 105.6 kB / 1.07 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3347, allocations: 8.062 kB / 1.07 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3347, allocations: 4 kB / 1.07 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3348, allocations: 0 / 1.07 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.3349, allocations: 15.98 kB / 1.07 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3349, allocations: 3.938 kB / 1.07 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.3349, allocations: 7.906 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.335, allocations: 4 kB / 1.07 GB, free: 9.41 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.0001086/0.3351, allocations: 127 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.3351, allocations: 11.91 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.3351, allocations: 12.38 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3351, allocations: 0 / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3352, allocations: 0 / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3352, allocations: 0 / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.3356, allocations: 382.4 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3356, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.3357, allocations: 11.92 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3357, allocations: 8 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3357, allocations: 7.938 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3357, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3358, allocations: 3.938 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.336, allocations: 203.4 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.3361, allocations: 89.02 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.3361, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.3362, allocations: 8 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.3363, allocations: 11.92 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.3363, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.3363, allocations: 91.27 kB / 1.071 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3363, allocations: 0 / 1.071 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000303/0.3367, allocations: 43.98 kB / 1.071 GB, free: 8.32 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.0003475/0.337, allocations: 174.1 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.3373, allocations: 67.95 kB / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3373, allocations: 0 / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3374, allocations: 39.91 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3376, allocations: 11.94 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.3381, allocations: 210.8 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3384, allocations: 0.6846 MB / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3384, allocations: 15.42 kB / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of SimCode: time 2.114e-06/0.3384, allocations: 0 / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.003538/0.342, allocations: 1.621 MB / 1.073 GB, free: 5.453 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