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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 222.8 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.717/2.717, allocations: 476 MB / 0.7707 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 66.06 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3017, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002767/0.3045, allocations: 1.491 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3059, allocations: 0.7574 MB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.306, allocations: 0 / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.306, allocations: 3.938 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.3061, allocations: 11.88 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.3067, allocations: 151.5 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3068, allocations: 79.72 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.3069, allocations: 8.172 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.307, allocations: 43.91 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.3071, allocations: 39.83 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3071, allocations: 4 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.3074, allocations: 139.7 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3074, allocations: 19.92 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.3075, allocations: 27.92 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.3077, allocations: 159.4 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3077, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3077, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3077, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 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.0006448/0.3084, allocations: 351.5 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3084, allocations: 8.031 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.3087, allocations: 24.92 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.309, allocations: 142.4 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.309, allocations: 8.375 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.309, allocations: 4.375 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3092, allocations: 65.78 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3092, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3092, allocations: 8 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3092, allocations: 0 / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3094, allocations: 39.91 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.3099, allocations: 252.4 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3101, allocations: 46.56 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.3101, allocations: 28.97 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.3102, allocations: 4 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.3104, allocations: 83.3 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.3104, allocations: 0 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004148/0.3108, allocations: 145.6 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3108, allocations: 51.41 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3109, allocations: 124.1 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.311, allocations: 33.64 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.311, allocations: 100.1 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.311, allocations: 23.78 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.3111, allocations: 25.7 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3113, allocations: 322.8 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.3113, allocations: 27.97 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.3114, allocations: 50.5 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3116, allocations: 74.55 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3116, allocations: 0 / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002401/0.3119, allocations: 113.5 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3119, allocations: 4 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3119, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3119, allocations: 4 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.312, allocations: 16 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.312, allocations: 3.984 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.3121, allocations: 4 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3121, allocations: 4 kB / 1.289 GB, free: 6.668 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.0001092/0.3122, allocations: 117.8 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.3122, allocations: 7.953 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.3122, allocations: 16.36 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3122, allocations: 0 / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3122, allocations: 0 / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3122, allocations: 4 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.3127, allocations: 326.1 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3127, allocations: 0 / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.3127, allocations: 4 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3127, allocations: 0 / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3127, allocations: 7.984 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3127, allocations: 0 / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3127, allocations: 3.938 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3131, allocations: 219.3 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.3131, allocations: 11.89 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3131, allocations: 7.984 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.3132, allocations: 3.984 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3132, allocations: 7.984 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3132, allocations: 11.94 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.3133, allocations: 96.64 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3133, allocations: 0 / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003021/0.3136, allocations: 39.92 kB / 1.29 GB, free: 5.734 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.0003811/0.314, allocations: 168.9 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.3142, allocations: 71.89 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3142, allocations: 0 / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/0.3143, allocations: 27.98 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3146, allocations: 14.17 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.315, allocations: 227.2 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.978e-05/0.3151, allocations: 71.28 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.3151, allocations: 15.42 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3151, allocations: 0 / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of Templates: time 0.003822/0.319, allocations: 1.665 MB / 1.292 GB, free: 3.449 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 -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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.489387745968997]