Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.001677/0.001677, allocations: 115.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.001954/0.001954, allocations: 191.6 kB / 22.17 MB, free: 5.652 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.53/1.53, 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.817/2.817, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.Nicol2001WindowsUK,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.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,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.Nicol2001WindowsUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 63.91 kB / 1.109 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.041, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003047/1.044, allocations: 1.488 MB / 1.275 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001491/1.046, allocations: 0.7456 MB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/1.046, allocations: 3.938 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/1.046, allocations: 3.938 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/1.046, allocations: 15.86 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/1.047, allocations: 119.6 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/1.047, allocations: 79.77 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/1.047, allocations: 11.95 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/1.047, allocations: 47.83 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/1.047, allocations: 35.84 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/1.047, allocations: 8 kB / 1.277 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/1.047, allocations: 95.89 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/1.047, allocations: 23.91 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/1.047, allocations: 31.8 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/1.048, allocations: 150.2 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.048, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/1.048, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.048, allocations: 3.984 kB / 1.277 GB, free: 1.707 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.00075/1.048, allocations: 420.8 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/1.048, allocations: 8.031 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/1.048, allocations: 8.891 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/1.049, allocations: 180.2 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/1.049, allocations: 4.359 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/1.049, allocations: 8.375 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/1.049, allocations: 73.91 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.049, allocations: 3.984 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.049, allocations: 0 / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.049, allocations: 0 / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/1.049, allocations: 43.97 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/1.05, allocations: 308.8 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/1.05, allocations: 46.5 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/1.05, allocations: 36.95 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/1.05, allocations: 0 / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/1.05, allocations: 79.38 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.05, allocations: 0 / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004248/1.051, allocations: 141.7 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/1.051, allocations: 55.34 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.051, allocations: 141.6 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/1.051, allocations: 29.7 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/1.051, allocations: 88.14 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/1.051, allocations: 11.91 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/1.051, allocations: 29.7 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.051, allocations: 322.8 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/1.051, allocations: 27.98 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.884e-05/1.051, allocations: 46.56 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/1.052, allocations: 74.8 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.052, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/1.052, allocations: 125.5 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.052, allocations: 4 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.052, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.052, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/1.052, allocations: 11.98 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.052, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/1.052, allocations: 7.938 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/1.052, allocations: 7.984 kB / 1.279 GB, free: 15.16 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.0001108/1.052, allocations: 133.1 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/1.052, allocations: 11.95 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/1.052, allocations: 4.375 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.052, allocations: 4 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.052, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.052, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/1.053, allocations: 382.4 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.053, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/1.053, allocations: 7.984 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/1.053, allocations: 7.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/1.053, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.053, allocations: 4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/1.053, allocations: 3.938 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/1.053, allocations: 207.5 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/1.053, allocations: 85.06 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/1.053, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/1.053, allocations: 8 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/1.053, allocations: 7.922 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.053, allocations: 4 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.346e-05/1.053, allocations: 95.27 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.053, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003317/1.054, allocations: 39.92 kB / 1.28 GB, free: 14.07 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.0003982/1.054, allocations: 174.2 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002482/1.054, allocations: 63.97 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.054, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/1.054, allocations: 35.91 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/1.055, allocations: 11.17 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/1.055, allocations: 200.9 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/1.056, allocations: 0.6846 MB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.766e-05/1.056, allocations: 11.92 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/1.056, allocations: 15.44 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/1.056, allocations: 0 / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.004784/1.06, allocations: 1.475 MB / 1.283 GB, free: 11.37 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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: 9.211209057830274]