Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.0016/0.0016, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002498/0.002498, allocations: 218.1 kB / 23.01 MB, free: 5.125 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.155/3.155, allocations: 0.505 GB / 0.8108 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") [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.002061/0.002061, allocations: 66.73 kB / 1.178 GB, free: 16.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 180.2 MB / 1.354 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003747/0.394, allocations: 2.239 MB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3952, allocations: 0.5569 MB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.3953, allocations: 7.938 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.3955, allocations: 47.53 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3957, allocations: 51.53 kB / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.396, allocations: 143.7 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.3965, allocations: 372.2 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.3967, allocations: 117.6 kB / 1.358 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.397, allocations: 139.4 kB / 1.358 GB, free: 4.215 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.3971, allocations: 135.3 kB / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.3972, allocations: 43.94 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.3973, allocations: 44 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.3973, allocations: 91.69 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3975, allocations: 147.3 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.398, allocations: 486 kB / 1.359 GB, free: 3.285 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.398, allocations: 0 / 1.359 GB, free: 3.285 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.398, allocations: 0 / 1.359 GB, free: 3.285 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.398, allocations: 4 kB / 1.359 GB, free: 3.281 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001043/0.3991, allocations: 0.5706 MB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3991, allocations: 8.031 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.3993, allocations: 48.69 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.3998, allocations: 249.7 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.3998, allocations: 24.81 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.3999, allocations: 24.38 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.4004, allocations: 279.3 kB / 1.36 GB, free: 2.023 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4004, allocations: 3.938 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.4005, allocations: 12 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.4005, allocations: 11.94 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.401, allocations: 213.8 kB / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.4025, allocations: 0.9354 MB / 1.361 GB, free: 0.793 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.403, allocations: 193.5 kB / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.4032, allocations: 96.81 kB / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.4032, allocations: 0 / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.4033, allocations: 38.56 kB / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.4033, allocations: 0 / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0007419/0.404, allocations: 263.4 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.4041, allocations: 51.41 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.4044, allocations: 273.9 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.4044, allocations: 29.7 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4046, allocations: 184.2 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.4046, allocations: 55.55 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.4047, allocations: 37.7 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4048, allocations: 338.8 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.4051, allocations: 80.81 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.4053, allocations: 122.3 kB / 1.363 GB, free: 14.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.4058, allocations: 200 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4058, allocations: 0 / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000534/0.4063, allocations: 243.5 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4063, allocations: 12 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4063, allocations: 64 / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.4063, allocations: 11.94 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.4066, allocations: 47.91 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4066, allocations: 0 / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4067, allocations: 31.83 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.4068, allocations: 4 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002692/0.407, allocations: 184.6 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002094/0.4072, allocations: 118.3 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003648/0.4076, allocations: 181.6 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.4076, allocations: 0 / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004662/0.4081, allocations: 241.2 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.4081, allocations: 4.125 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4081, allocations: 11.97 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/0.4081, allocations: 4 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.4083, allocations: 39.92 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4083, allocations: 4 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4084, allocations: 23.88 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.4084, allocations: 8 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001436/0.4086, allocations: 196.1 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.4086, allocations: 31.81 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/0.4092, allocations: 213.6 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4092, allocations: 0 / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4092, allocations: 7.938 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4092, allocations: 0 / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/0.4102, allocations: 0.6026 MB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4102, allocations: 0 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.4103, allocations: 35.91 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4104, allocations: 4 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4104, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4104, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4104, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.4111, allocations: 400.7 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.4112, allocations: 23.88 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.4112, allocations: 4 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.4113, allocations: 20.05 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.4114, allocations: 7.984 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.4114, allocations: 15.92 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002059/0.4116, allocations: 189.2 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4116, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004025/0.412, allocations: 91.67 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001547/0.4122, allocations: 111.2 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006974/0.4129, allocations: 265.1 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4129, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.4131, allocations: 86.48 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.4135, allocations: 49.66 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.4145, allocations: 0.493 MB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.4149, allocations: 0.7634 MB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.415, allocations: 27.44 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.415, allocations: 0 / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of Templates: time 0.00567/0.4206, allocations: 3.143 MB / 1.37 GB, free: 6.703 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.212872256000992]