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.001694/0.001694, 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.001913/0.001913, allocations: 222.2 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.221/3.221, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] 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.002277/0.002277, allocations: 69.03 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3498, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003669/0.3534, allocations: 2.08 MB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3547, allocations: 0.5414 MB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.3549, allocations: 7.938 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.3552, allocations: 39.53 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.3553, allocations: 51.53 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.3558, allocations: 143.8 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000481/0.3562, allocations: 368.2 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.3565, allocations: 113.6 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.3568, allocations: 139.4 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.357, allocations: 119.3 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.3571, allocations: 44 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.3572, allocations: 44 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.3572, allocations: 83.7 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3574, allocations: 115.4 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.358, allocations: 490.1 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.358, allocations: 3.938 kB / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.358, allocations: 0 / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.358, allocations: 0 / 1.369 GB, free: 9.277 MB / 1.061 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.001159/0.3591, allocations: 0.5645 MB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3592, allocations: 12.03 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.3594, allocations: 52.62 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.3599, allocations: 261.6 kB / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3599, allocations: 16.88 kB / 1.37 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.36, allocations: 24.38 kB / 1.37 GB, free: 8.297 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3606, allocations: 334.7 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3606, allocations: 3.938 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.3607, allocations: 16 kB / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3607, allocations: 4 kB / 1.37 GB, free: 7.926 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.3612, allocations: 205.9 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.3627, allocations: 0.8152 MB / 1.371 GB, free: 6.859 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.3632, allocations: 190.8 kB / 1.371 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.3635, allocations: 100.8 kB / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.3635, allocations: 4 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3635, allocations: 30.56 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3635, allocations: 0 / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0007624/0.3643, allocations: 261.3 kB / 1.372 GB, free: 6.258 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3644, allocations: 55.41 kB / 1.372 GB, free: 6.191 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.3647, allocations: 245.1 kB / 1.372 GB, free: 5.938 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.3647, allocations: 33.7 kB / 1.372 GB, free: 5.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3649, allocations: 184.2 kB / 1.372 GB, free: 5.715 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.3649, allocations: 55.48 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.365, allocations: 45.7 kB / 1.372 GB, free: 5.609 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3652, allocations: 330.8 kB / 1.373 GB, free: 5.277 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.3654, allocations: 84.81 kB / 1.373 GB, free: 5.191 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.3657, allocations: 148.9 kB / 1.373 GB, free: 5.023 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.3662, allocations: 193.5 kB / 1.373 GB, free: 4.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3662, allocations: 0 / 1.373 GB, free: 4.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005885/0.3668, allocations: 247 kB / 1.373 GB, free: 4.574 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3668, allocations: 8 kB / 1.373 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3668, allocations: 3.938 kB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3668, allocations: 8.125 kB / 1.373 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.3671, allocations: 51.89 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3671, allocations: 7.984 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3672, allocations: 23.88 kB / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3673, allocations: 4 kB / 1.373 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002819/0.3675, allocations: 181.2 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002319/0.3678, allocations: 134.8 kB / 1.374 GB, free: 4.133 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003899/0.3682, allocations: 182.3 kB / 1.374 GB, free: 3.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.3682, allocations: 4 kB / 1.374 GB, free: 3.938 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004988/0.3687, allocations: 241.2 kB / 1.374 GB, free: 3.695 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3687, allocations: 4 kB / 1.374 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3687, allocations: 4 kB / 1.374 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.3687, allocations: 3.938 kB / 1.374 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3689, allocations: 43.91 kB / 1.374 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3689, allocations: 4 kB / 1.374 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.369, allocations: 23.88 kB / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.369, allocations: 8 kB / 1.374 GB, free: 3.605 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.0001461/0.3692, allocations: 200.3 kB / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.3692, allocations: 23.86 kB / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005785/0.3698, allocations: 217.2 kB / 1.375 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3698, allocations: 0 / 1.375 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3698, allocations: 4 kB / 1.375 GB, free: 3.156 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3698, allocations: 0 / 1.375 GB, free: 3.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.3708, allocations: 0.529 MB / 1.375 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3708, allocations: 64 / 1.375 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.371, allocations: 39.97 kB / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.371, allocations: 0 / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.371, allocations: 8 kB / 1.375 GB, free: 2.543 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.371, allocations: 7.922 kB / 1.375 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.371, allocations: 0 / 1.375 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007794/0.3718, allocations: 393.5 kB / 1.375 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3718, allocations: 27.83 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3719, allocations: 0 / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.372, allocations: 15.98 kB / 1.376 GB, free: 2.094 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.3721, allocations: 11.97 kB / 1.376 GB, free: 2.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3721, allocations: 16 kB / 1.376 GB, free: 2.066 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001889/0.3723, allocations: 176.5 kB / 1.376 GB, free: 1.895 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3723, allocations: 0 / 1.376 GB, free: 1.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004159/0.3727, allocations: 87.73 kB / 1.376 GB, free: 1.809 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.0001194/0.3728, allocations: 103.2 kB / 1.376 GB, free: 1.699 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000735/0.3736, allocations: 278.4 kB / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3736, allocations: 0 / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.3738, allocations: 79.89 kB / 1.376 GB, free: 1.352 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3742, allocations: 38.55 kB / 1.376 GB, free: 1.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.3751, allocations: 0.4972 MB / 1.377 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3753, allocations: 151.5 kB / 1.377 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.3754, allocations: 23.42 kB / 1.377 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3754, allocations: 0 / 1.377 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of Templates: time 0.005895/0.3813, allocations: 3.169 MB / 1.38 GB, free: 13.44 MB / 1.076 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.384445573668927]