Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001603/0.001603, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.00175/0.00175, allocations: 212.9 kB / 23.04 MB, free: 4.844 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.175/3.175, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_12_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_12_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.001996/0.001996, allocations: 70.52 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003466/0.3549, allocations: 2.083 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.356, allocations: 0.5452 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.3561, allocations: 8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3563, allocations: 51.47 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3564, allocations: 43.59 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.3568, allocations: 139.8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.3572, allocations: 372.2 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.3575, allocations: 109.6 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.3577, allocations: 135.5 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3578, allocations: 131.2 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.3579, allocations: 40 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.358, allocations: 44 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.3581, allocations: 79.77 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3582, allocations: 119.3 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.3587, allocations: 490 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3587, allocations: 3.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3587, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3587, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 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.0009876/0.3597, allocations: 0.5684 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3597, allocations: 8.031 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3599, allocations: 40.73 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.3604, allocations: 265.6 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3604, allocations: 24.86 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.3605, allocations: 28.38 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.361, allocations: 330.7 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3611, allocations: 11.88 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.3611, allocations: 8 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3611, allocations: 8 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.3616, allocations: 201.9 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3629, allocations: 0.819 MB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.3635, allocations: 190.8 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3637, allocations: 91.31 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3637, allocations: 11.98 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3637, allocations: 38.56 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.3637, allocations: 0 / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007287/0.3645, allocations: 249.4 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3645, allocations: 55.41 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3648, allocations: 249 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3648, allocations: 33.7 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.365, allocations: 188.2 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.365, allocations: 63.42 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.3651, allocations: 41.7 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3652, allocations: 334.8 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3654, allocations: 76.81 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.3657, allocations: 141.5 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.3661, allocations: 193.9 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3661, allocations: 0 / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005348/0.3667, allocations: 255 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3667, allocations: 6.344 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3667, allocations: 4 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3667, allocations: 0 / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.3669, allocations: 43.91 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3669, allocations: 7.984 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3671, allocations: 19.89 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3671, allocations: 20.08 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002613/0.3673, allocations: 174.7 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002135/0.3676, allocations: 142.7 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003582/0.3679, allocations: 190 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.3679, allocations: 0 / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004689/0.3684, allocations: 237.3 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3684, allocations: 8 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/0.3684, allocations: 0 / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.3684, allocations: 4 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3686, allocations: 48.03 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.3686, allocations: 0 / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3687, allocations: 23.88 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3687, allocations: 8 kB / 1.337 GB, free: 6.945 MB / 1.029 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.0001341/0.3689, allocations: 200.7 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.3689, allocations: 19.86 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.3695, allocations: 223.5 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3695, allocations: 4 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3695, allocations: 0 / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3695, allocations: 0 / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.3704, allocations: 0.5231 MB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3704, allocations: 64 / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.3705, allocations: 39.97 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3706, allocations: 11.94 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3706, allocations: 0 / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3706, allocations: 0 / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3706, allocations: 0 / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.3713, allocations: 403 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.3713, allocations: 23.81 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.3714, allocations: 12.06 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3715, allocations: 11.97 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.3716, allocations: 15.97 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3716, allocations: 4 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001776/0.3718, allocations: 180.5 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3718, allocations: 0 / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004062/0.3722, allocations: 87.73 kB / 1.338 GB, free: 5.148 MB / 1.029 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.0001211/0.3723, allocations: 99.25 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.373, allocations: 274.4 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.373, allocations: 0 / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.3732, allocations: 80.39 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3736, allocations: 42.08 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.3745, allocations: 0.4969 MB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.3747, allocations: 147.5 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.3748, allocations: 31.42 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3748, allocations: 0 / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of Templates: time 0.005385/0.3801, allocations: 3.172 MB / 1.343 GB, free: 0.7734 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.382711031939834]