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.001613/0.001613, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001798/0.001798, allocations: 204 kB / 20.09 MB, free: 2.977 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.897/2.897, allocations: 0.49 GB / 0.7923 GB, free: 1.316 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.002061/0.002061, allocations: 71.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9912/0.9933, allocations: 176.1 MB / 1.322 GB, free: 25.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002772/0.996, allocations: 2.23 MB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.9969, allocations: 0.5538 MB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.9971, allocations: 6.812 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.9972, allocations: 45.08 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.9973, allocations: 51.72 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.9976, allocations: 146.7 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.9979, allocations: 363.5 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.9982, allocations: 125.3 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.9984, allocations: 143.9 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.9985, allocations: 140.5 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.9985, allocations: 46.06 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.9986, allocations: 43.53 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.9986, allocations: 77.92 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.9987, allocations: 149.1 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.9991, allocations: 486.3 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.9991, allocations: 0 / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9991, allocations: 0 / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.9991, allocations: 0 / 1.326 GB, free: 22.16 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.0008629/1, allocations: 0.621 MB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1, allocations: 12.17 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/1, allocations: 48.06 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/1.001, allocations: 322.3 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/1.001, allocations: 28.06 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/1.001, allocations: 23.78 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/1.001, allocations: 279.3 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.001, allocations: 3.938 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/1.001, allocations: 10.69 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/1.001, allocations: 5.938 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005423/1.002, allocations: 212.3 kB / 1.328 GB, free: 21.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/1.003, allocations: 0.9733 MB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/1.004, allocations: 262 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/1.004, allocations: 93.31 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/1.004, allocations: 2.391 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.004, allocations: 44.55 kB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/1.004, allocations: 0 / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0008225/1.005, allocations: 259.3 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/1.005, allocations: 53 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/1.005, allocations: 276.4 kB / 1.33 GB, free: 19.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/1.005, allocations: 26.86 kB / 1.33 GB, free: 19.78 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/1.005, allocations: 184.2 kB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/1.005, allocations: 51.72 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/1.006, allocations: 48.36 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.017e-05/1.006, allocations: 332.4 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/1.006, allocations: 81.86 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/1.006, allocations: 123.2 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/1.006, allocations: 197.1 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.006, allocations: 1.094 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005468/1.007, allocations: 245.3 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.007, allocations: 9.625 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.007, allocations: 6.094 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.007, allocations: 2.844 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/1.007, allocations: 44.59 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.007, allocations: 2.188 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/1.007, allocations: 30.09 kB / 1.331 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/1.008, allocations: 10.83 kB / 1.331 GB, free: 18.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002479/1.008, allocations: 182.6 kB / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001863/1.008, allocations: 114.4 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000344/1.008, allocations: 183.6 kB / 1.332 GB, free: 18.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/1.008, allocations: 0 / 1.332 GB, free: 18.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004757/1.009, allocations: 245.3 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/1.009, allocations: 6.016 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/1.009, allocations: 1.812 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/1.009, allocations: 2.062 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/1.009, allocations: 43.53 kB / 1.332 GB, free: 18.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/1.009, allocations: 3.312 kB / 1.332 GB, free: 18.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.009, allocations: 23.41 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/1.009, allocations: 9.469 kB / 1.332 GB, free: 18.43 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 8.333e-05/1.009, allocations: 201.1 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/1.009, allocations: 23.27 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/1.01, allocations: 218.4 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.01, allocations: 2.656 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.01, allocations: 0 / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.01, allocations: 1.609 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/1.011, allocations: 0.6296 MB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/1.011, allocations: 0 / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/1.011, allocations: 42.44 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.011, allocations: 0.7188 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/1.011, allocations: 2.672 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.011, allocations: 0.6562 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.011, allocations: 5.031 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/1.012, allocations: 393.5 kB / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/1.012, allocations: 101.6 kB / 1.333 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/1.012, allocations: 6.297 kB / 1.333 GB, free: 17.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/1.012, allocations: 16.34 kB / 1.334 GB, free: 17.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/1.012, allocations: 17.92 kB / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/1.012, allocations: 11.98 kB / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001817/1.012, allocations: 198.7 kB / 1.334 GB, free: 17.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.012, allocations: 0 / 1.334 GB, free: 17.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004243/1.013, allocations: 92.09 kB / 1.334 GB, free: 17.14 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.0001096/1.013, allocations: 109.2 kB / 1.334 GB, free: 17.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007259/1.013, allocations: 272.9 kB / 1.334 GB, free: 16.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.013, allocations: 1.156 kB / 1.334 GB, free: 16.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/1.014, allocations: 85.02 kB / 1.334 GB, free: 16.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/1.014, allocations: 39.53 kB / 1.334 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/1.015, allocations: 497.1 kB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/1.015, allocations: 0.761 MB / 1.336 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.825e-05/1.015, allocations: 27.89 kB / 1.336 GB, free: 15.88 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.015, allocations: 0.6562 kB / 1.336 GB, free: 15.88 MB / 1.061 GB Notification: Performance of Templates: time 0.006268/1.021, allocations: 3.155 MB / 1.339 GB, free: 15.51 MB / 1.061 GB " [Timeout remaining time 299] 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.868485636005062]