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.001804/0.001804, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002006/0.002006, allocations: 218.6 kB / 23.01 MB, free: 4.969 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.283/3.283, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.003086/0.003086, allocations: 74.11 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3948, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003722/0.3985, allocations: 2.079 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3997, allocations: 0.5376 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.3998, allocations: 7.938 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.4, allocations: 51.41 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.4001, allocations: 47.59 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.4005, allocations: 139.8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.4009, allocations: 368.2 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.4012, allocations: 121.6 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.4014, allocations: 143.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.4016, allocations: 135.3 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.4017, allocations: 40 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.4017, allocations: 48 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.4018, allocations: 75.77 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.4019, allocations: 131.3 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.4025, allocations: 482.1 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4025, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4025, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4025, allocations: 0 / 1.331 GB, free: 12.59 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.001077/0.4036, allocations: 0.5645 MB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4036, allocations: 16.02 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.4038, allocations: 40.69 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.4043, allocations: 265.6 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.4044, allocations: 16.88 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.4044, allocations: 28.36 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.4051, allocations: 334.7 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4051, allocations: 7.938 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.4051, allocations: 12 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4051, allocations: 8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.4056, allocations: 205.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.4071, allocations: 0.8112 MB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.4077, allocations: 194.8 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.4079, allocations: 96.81 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.4079, allocations: 4 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.408, allocations: 30.56 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.408, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007611/0.4087, allocations: 267.3 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4088, allocations: 51.41 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.4091, allocations: 245.1 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.4091, allocations: 29.7 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.4093, allocations: 188.2 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.4093, allocations: 59.45 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-05/0.4094, allocations: 45.7 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4096, allocations: 342.7 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.4098, allocations: 76.81 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.4101, allocations: 144.8 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.4105, allocations: 194.6 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4105, allocations: 0 / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005667/0.4111, allocations: 254.6 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4111, allocations: 4 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.4111, allocations: 4.125 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4111, allocations: 4 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.4113, allocations: 39.97 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4114, allocations: 7.938 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.4115, allocations: 23.88 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.4115, allocations: 4 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002789/0.4118, allocations: 180.1 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002276/0.412, allocations: 148.1 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003644/0.4124, allocations: 181.7 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.4124, allocations: 0 / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004973/0.4129, allocations: 241.3 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4129, allocations: 4 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.4129, allocations: 4 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.4129, allocations: 3.938 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.4131, allocations: 43.97 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4131, allocations: 7.938 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4133, allocations: 19.88 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.4133, allocations: 12.12 kB / 1.337 GB, free: 6.918 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.0001509/0.4134, allocations: 196.8 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.4135, allocations: 27.78 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.4141, allocations: 215.5 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.4141, allocations: 3.984 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4141, allocations: 4.062 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.4141, allocations: 35.75 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.4142, allocations: 4 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.4143, allocations: 11.98 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.4144, allocations: 15.97 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006476/0.415, allocations: 282.6 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008058/0.4158, allocations: 476.3 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002099/0.4161, allocations: 79.91 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001863/0.4162, allocations: 180.5 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of Backend: time 7.21e-07/0.4162, allocations: 0 / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009122/0.4172, allocations: 279.8 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of SimCode: time 0.001188/0.4183, allocations: 0.9096 MB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of Templates: time 0.008335/0.4267, allocations: 3.778 MB / 1.343 GB, free: 428 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: 9.405182921000232]