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.00164/0.00164, allocations: 110.2 kB / 19.69 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.001839/0.001839, allocations: 207.3 kB / 23 MB, free: 4.566 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.227/3.227, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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.002064/0.002064, allocations: 70.95 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3781, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.004364/0.3824, allocations: 2.234 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3839, allocations: 0.5569 MB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.3841, allocations: 7.938 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.3844, allocations: 47.53 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3845, allocations: 47.53 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.385, allocations: 147.7 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005252/0.3855, allocations: 368.2 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.3858, allocations: 117.6 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.3861, allocations: 139.4 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.3863, allocations: 139.3 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.3863, allocations: 44 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.3864, allocations: 51.92 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.3865, allocations: 75.77 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3867, allocations: 151.2 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.3873, allocations: 494 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3873, allocations: 0 / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3873, allocations: 0 / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3873, allocations: 0 / 1.332 GB, free: 12.86 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.001109/0.3884, allocations: 0.5618 MB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3885, allocations: 12.03 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.3887, allocations: 40.73 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.3892, allocations: 265.6 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3892, allocations: 24.88 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.3893, allocations: 28.36 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.3898, allocations: 275.3 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3898, allocations: 11.88 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.3899, allocations: 12 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3899, allocations: 4 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.3904, allocations: 213.8 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.3919, allocations: 0.9355 MB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.3924, allocations: 186.8 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.3926, allocations: 92.06 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3926, allocations: 8 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.3927, allocations: 38.55 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.3927, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007313/0.3934, allocations: 267.2 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.3935, allocations: 51.41 kB / 1.335 GB, free: 9.703 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.3938, allocations: 273.9 kB / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3938, allocations: 29.7 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.394, allocations: 184.2 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.394, allocations: 47.59 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.3941, allocations: 45.66 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3943, allocations: 342.8 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3945, allocations: 76.81 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.3947, allocations: 117.1 kB / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.3952, allocations: 197.6 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3952, allocations: 4 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005284/0.3957, allocations: 251.5 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3957, allocations: 8 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3957, allocations: 3.984 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3957, allocations: 0 / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.396, allocations: 47.91 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.396, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.3961, allocations: 31.83 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.3962, allocations: 4 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002878/0.3964, allocations: 188.1 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002066/0.3967, allocations: 118.9 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003497/0.397, allocations: 188.1 kB / 1.337 GB, free: 7.477 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.397, allocations: 0 / 1.337 GB, free: 7.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004692/0.3975, allocations: 243.1 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.3975, allocations: 8 kB / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.3975, allocations: 0 / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.718e-06/0.3975, allocations: 4 kB / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3977, allocations: 43.91 kB / 1.337 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.3977, allocations: 0 / 1.337 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.3978, allocations: 19.89 kB / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3978, allocations: 11.98 kB / 1.337 GB, free: 7.148 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.0001576/0.398, allocations: 200.7 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.398, allocations: 27.84 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.3986, allocations: 211.6 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3986, allocations: 4 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3986, allocations: 4 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3986, allocations: 3.984 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009876/0.3996, allocations: 0.5971 MB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3996, allocations: 4 kB / 1.338 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.3998, allocations: 35.91 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3998, allocations: 0 / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3998, allocations: 8 kB / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3998, allocations: 0 / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3998, allocations: 4 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.4006, allocations: 388.9 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.4006, allocations: 27.88 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.4007, allocations: 12.06 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.4008, allocations: 7.984 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.4009, allocations: 19.88 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4009, allocations: 7.938 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002095/0.4011, allocations: 193.2 kB / 1.339 GB, free: 5.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4011, allocations: 0 / 1.339 GB, free: 5.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004167/0.4015, allocations: 91.67 kB / 1.339 GB, free: 5.25 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.0001773/0.4017, allocations: 111.2 kB / 1.339 GB, free: 5.133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006907/0.4024, allocations: 261.8 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4024, allocations: 0 / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.4026, allocations: 80.39 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.403, allocations: 49.91 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.404, allocations: 0.4931 MB / 1.34 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.4045, allocations: 0.7595 MB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.4046, allocations: 23.44 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4046, allocations: 0 / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of Templates: time 0.005835/0.4104, allocations: 3.168 MB / 1.343 GB, free: 268 kB / 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.447911535971798]