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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8233, allocations: 168.7 MB / 1.274 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002791/0.8261, allocations: 1.498 MB / 1.275 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.8275, allocations: 0.7455 MB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.8276, allocations: 4 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.8276, allocations: 3.938 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.8277, allocations: 11.86 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.8282, allocations: 123.6 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.8284, allocations: 79.75 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.8285, allocations: 11.95 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.734e-05/0.8286, allocations: 39.84 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.8286, allocations: 39.83 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.8287, allocations: 8 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.8289, allocations: 99.89 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.8289, allocations: 11.98 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.829, allocations: 39.78 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.8292, allocations: 150.2 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8292, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8292, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8292, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 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.0007289/0.83, allocations: 416.8 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.83, allocations: 12.03 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.8301, allocations: 8.891 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.8302, allocations: 176.3 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.8302, allocations: 8.375 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.8303, allocations: 4.375 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.8305, allocations: 69.91 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.8305, allocations: 0 / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.8305, allocations: 8 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8305, allocations: 0 / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.8306, allocations: 39.97 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.8312, allocations: 308.8 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.8314, allocations: 50.48 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.8315, allocations: 32.97 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.8315, allocations: 7.984 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.8317, allocations: 71.39 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.8317, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004197/0.8321, allocations: 145.6 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.8322, allocations: 59.34 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.8323, allocations: 137.6 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.8323, allocations: 37.62 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.8324, allocations: 84.14 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.8324, allocations: 15.91 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.8325, allocations: 29.7 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8326, allocations: 326.8 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.8327, allocations: 19.98 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.8328, allocations: 50.56 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.833, allocations: 70.48 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.833, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002497/0.8332, allocations: 113.5 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.8332, allocations: 12.06 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8332, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8332, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.8333, allocations: 11.98 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.8333, allocations: 4 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.8334, allocations: 4 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.8334, allocations: 4 kB / 1.279 GB, free: 15 MB / 0.9825 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.0001083/0.8335, allocations: 133.6 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.8336, allocations: 11.95 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.8336, allocations: 8.375 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8336, allocations: 0 / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8336, allocations: 0 / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8336, allocations: 0 / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.8341, allocations: 382.8 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8341, allocations: 4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.8341, allocations: 11.92 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8341, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.8341, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8341, allocations: 80 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.8342, allocations: 7.922 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.8345, allocations: 211.5 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.8345, allocations: 81.06 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.8345, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.8346, allocations: 8 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.8347, allocations: 15.92 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.8347, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.492e-05/0.8347, allocations: 95.27 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8347, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003057/0.835, allocations: 39.92 kB / 1.28 GB, free: 13.89 MB / 0.9825 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.0003731/0.8354, allocations: 174.8 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.8357, allocations: 63.97 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8357, allocations: 0 / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.8358, allocations: 39.91 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.836, allocations: 0 / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.8365, allocations: 204.9 kB / 1.28 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.8368, allocations: 0.6884 MB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.8368, allocations: 3.984 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.8368, allocations: 11.44 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.8368, allocations: 0 / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.004688/0.8415, allocations: 1.478 MB / 1.283 GB, free: 11.21 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile [Timeout 300] (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 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 8.67911488795653]