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.001105/0.001105, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001165/0.001165, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 469.4 MB / 0.7423 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 56.38 kB / 0.9083 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3434, allocations: 159.1 MB / 1.064 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003401/0.3468, allocations: 1.537 MB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3485, allocations: 0.7285 MB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.3486, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.761e-05/0.3486, allocations: 3.938 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.3487, allocations: 7.922 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.3494, allocations: 111.8 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.3496, allocations: 79.77 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3497, allocations: 8 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3498, allocations: 39.84 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.3499, allocations: 39.83 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3499, allocations: 4 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.3501, allocations: 99.84 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.3502, allocations: 23.91 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.3503, allocations: 31.86 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.3505, allocations: 100 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3505, allocations: 4 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3505, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.3505, allocations: 0 / 1.066 GB, free: 12.59 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.0007323/0.3513, allocations: 415 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3513, allocations: 12.62 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.3514, allocations: 8.844 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3515, allocations: 176.2 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.3516, allocations: 12.36 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3516, allocations: 4.375 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3518, allocations: 73.95 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3518, allocations: 0 / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3518, allocations: 4 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3518, allocations: 3.938 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.352, allocations: 35.97 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.3527, allocations: 316.8 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3528, allocations: 46.56 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/0.3529, allocations: 32.97 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.353, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.3532, allocations: 83.31 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3532, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004152/0.3536, allocations: 137.5 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.3537, allocations: 55.41 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3538, allocations: 117.8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3539, allocations: 29.7 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.354, allocations: 100 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.354, allocations: 19.81 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.354, allocations: 29.64 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3542, allocations: 326.8 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.3543, allocations: 31.92 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.439e-05/0.3544, allocations: 42.56 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3545, allocations: 78.55 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3546, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002695/0.3548, allocations: 109.6 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3549, allocations: 7.938 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3549, allocations: 64 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3549, allocations: 11.94 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.355, allocations: 11.98 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.355, allocations: 400 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.3551, allocations: 7.906 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3551, allocations: 4 kB / 1.069 GB, free: 10.05 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 9.541e-05/0.3552, allocations: 121.8 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.3552, allocations: 11.91 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.3553, allocations: 8.375 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3553, allocations: 4 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3553, allocations: 3.938 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3553, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.3558, allocations: 386.4 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3558, allocations: 0 / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.3558, allocations: 7.984 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3559, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3559, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3559, allocations: 4 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/0.3559, allocations: 7.938 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.3562, allocations: 207.4 kB / 1.069 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.3563, allocations: 89 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3563, allocations: 0 / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.3564, allocations: 4 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3564, allocations: 11.92 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3564, allocations: 4 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.3565, allocations: 99.2 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3565, allocations: 0 / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003008/0.3568, allocations: 32 kB / 1.07 GB, free: 8.969 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.0003811/0.3572, allocations: 171 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.3575, allocations: 83.88 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3575, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.3576, allocations: 35.92 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.3579, allocations: 11.98 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.3583, allocations: 214.8 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.3586, allocations: 0.6885 MB / 1.071 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.3587, allocations: 11.44 kB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3587, allocations: 0 / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of Templates: time 0.003929/0.3626, allocations: 1.623 MB / 1.072 GB, free: 6.086 MB / 0.8419 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