Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001301/0.001301, allocations: 115.9 kB / 17.08 MB, free: 5.977 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.001381/0.001381, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.42/1.42, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.83 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2983, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002841/0.3011, allocations: 1.47 MB / 1.177 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3026, allocations: 0.7323 MB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.3027, allocations: 7.875 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.3027, allocations: 3.938 kB / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.3028, allocations: 15.86 kB / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.3034, allocations: 119.6 kB / 1.178 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.3035, allocations: 79.77 kB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.3036, allocations: 8 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3037, allocations: 43.83 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.3038, allocations: 35.84 kB / 1.178 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3038, allocations: 4 kB / 1.178 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3041, allocations: 95.91 kB / 1.178 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.3041, allocations: 19.97 kB / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.3042, allocations: 35.8 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.3044, allocations: 151.4 kB / 1.179 GB, free: 3.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3045, allocations: 4 kB / 1.179 GB, free: 3.082 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3045, allocations: 0 / 1.179 GB, free: 3.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3045, allocations: 0 / 1.179 GB, free: 3.082 MB / 0.92 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.0007087/0.3052, allocations: 420.7 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3052, allocations: 8.031 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.3053, allocations: 8.891 kB / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3054, allocations: 172.3 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.3055, allocations: 12.36 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3055, allocations: 4.375 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3057, allocations: 73.95 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3057, allocations: 3.938 kB / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3058, allocations: 0 / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3058, allocations: 0 / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.3059, allocations: 39.97 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.3066, allocations: 312.8 kB / 1.18 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3067, allocations: 46.56 kB / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.284e-05/0.3068, allocations: 40.89 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.3068, allocations: 0 / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.3071, allocations: 79.38 kB / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3071, allocations: 0 / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004256/0.3075, allocations: 141.9 kB / 1.18 GB, free: 1.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3076, allocations: 59.34 kB / 1.18 GB, free: 1.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3077, allocations: 121.8 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3077, allocations: 33.64 kB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.3078, allocations: 96.08 kB / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3078, allocations: 19.84 kB / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.3079, allocations: 25.7 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.308, allocations: 326.8 kB / 1.181 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.3081, allocations: 31.92 kB / 1.181 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/0.3082, allocations: 42.56 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3084, allocations: 82.55 kB / 1.181 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3084, allocations: 0 / 1.181 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002526/0.3087, allocations: 117.5 kB / 1.181 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3087, allocations: 4 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3087, allocations: 0 / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3087, allocations: 4 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.3088, allocations: 20.05 kB / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3088, allocations: 0 / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.3089, allocations: 4 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3089, allocations: 4 kB / 1.181 GB, free: 0.5273 MB / 0.92 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.0001039/0.309, allocations: 121.8 kB / 1.181 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.3091, allocations: 11.89 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.3091, allocations: 8.375 kB / 1.181 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3091, allocations: 4 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3091, allocations: 4 kB / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3091, allocations: 0 / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.3096, allocations: 386.3 kB / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3096, allocations: 0 / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.3097, allocations: 7.984 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3097, allocations: 0 / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3097, allocations: 0 / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3097, allocations: 3.938 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3097, allocations: 7.938 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.31, allocations: 211.5 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.3101, allocations: 85.06 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3101, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.3102, allocations: 4 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.3103, allocations: 7.922 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3103, allocations: 4 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.55e-05/0.3104, allocations: 99.27 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3104, allocations: 0 / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003037/0.3107, allocations: 31.94 kB / 1.182 GB, free: 15.45 MB / 0.9356 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.0003636/0.311, allocations: 165.7 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.3113, allocations: 80.12 kB / 1.182 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3113, allocations: 0 / 1.182 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3114, allocations: 35.92 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.3117, allocations: 7.984 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.3121, allocations: 210.5 kB / 1.182 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3125, allocations: 0.6963 MB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.3125, allocations: 11.44 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3125, allocations: 0 / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.003923/0.3164, allocations: 1.632 MB / 1.185 GB, free: 12.57 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.651198981911875]