Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.00166/0.00166, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001988/0.001988, allocations: 217 kB / 22.99 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.798/2.798, allocations: 476 MB / 0.7707 GB, free: 4.727 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.Nicol2001WindowsEU,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.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Nicol2001WindowsEU") [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.002105/0.002105, allocations: 69.5 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3116, allocations: 169.9 MB / 1.284 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003163/0.3148, allocations: 1.502 MB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3164, allocations: 0.7536 MB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.3165, allocations: 0 / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.3165, allocations: 3.938 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.3166, allocations: 15.86 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.3173, allocations: 147.5 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3174, allocations: 79.77 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.3175, allocations: 8.172 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.3177, allocations: 39.86 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.3177, allocations: 35.88 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3178, allocations: 4 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.3181, allocations: 147.7 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.3181, allocations: 19.97 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.3182, allocations: 27.8 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.3185, allocations: 155.5 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3185, allocations: 0 / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3185, allocations: 0 / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3185, allocations: 0 / 1.287 GB, free: 9.082 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.0006799/0.3192, allocations: 347.5 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3192, allocations: 11.97 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.3196, allocations: 28.86 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3198, allocations: 142.3 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.3199, allocations: 12.38 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.3199, allocations: 4.375 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3201, allocations: 69.78 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3201, allocations: 0 / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3201, allocations: 4 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3201, allocations: 0 / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3202, allocations: 35.97 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.3208, allocations: 260.4 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.321, allocations: 42.56 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.3211, allocations: 24.97 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3211, allocations: 4 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.3213, allocations: 83.38 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.3213, allocations: 0 / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004279/0.3217, allocations: 145.6 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3217, allocations: 55.41 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3219, allocations: 124.3 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3219, allocations: 33.7 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.322, allocations: 92.08 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.322, allocations: 19.84 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.322, allocations: 25.7 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3222, allocations: 322.8 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.3223, allocations: 27.97 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3224, allocations: 50.5 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3225, allocations: 78.53 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3225, allocations: 0 / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000252/0.3228, allocations: 113.5 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3228, allocations: 7.938 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3228, allocations: 4 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3228, allocations: 3.984 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.323, allocations: 19.98 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.323, allocations: 0 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.323, allocations: 4 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.323, allocations: 7.938 kB / 1.289 GB, free: 6.723 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.0001139/0.3232, allocations: 121.8 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.3232, allocations: 7.953 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.3232, allocations: 12.36 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3232, allocations: 0 / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3232, allocations: 0 / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3232, allocations: 0 / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.3237, allocations: 334.1 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3237, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.3237, allocations: 4 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3237, allocations: 3.984 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3237, allocations: 0 / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3237, allocations: 0 / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3237, allocations: 0 / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.3241, allocations: 219.3 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.3241, allocations: 19.88 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3241, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.3242, allocations: 4 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.3243, allocations: 7.984 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3243, allocations: 11.94 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.3243, allocations: 91.27 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3243, allocations: 0 / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003089/0.3247, allocations: 39.92 kB / 1.29 GB, free: 5.797 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.0004052/0.3251, allocations: 168.4 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3253, allocations: 71.89 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3253, allocations: 4 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3254, allocations: 31.97 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3257, allocations: 4 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.3262, allocations: 231.2 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.678e-05/0.3262, allocations: 71.28 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.3263, allocations: 15.42 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3263, allocations: 0 / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of Templates: time 0.004105/0.3304, allocations: 1.665 MB / 1.292 GB, free: 3.508 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.529844201169908]