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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005528/0.005528, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 191.7 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7453 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2885, allocations: 159.9 MB / 1.226 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003428/0.292, allocations: 2.217 MB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2931, allocations: 0.5296 MB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.2934, allocations: 4 kB / 1.228 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.2936, allocations: 47.47 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.2937, allocations: 43.59 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.2941, allocations: 139.8 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.2945, allocations: 376.2 kB / 1.229 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.2948, allocations: 173.1 kB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.295, allocations: 127.5 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.2952, allocations: 139.3 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.2952, allocations: 40 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-05/0.2953, allocations: 44 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.2954, allocations: 83.75 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.2955, allocations: 151.2 kB / 1.23 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.296, allocations: 482 kB / 1.23 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.296, allocations: 4 kB / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.296, allocations: 0 / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.296, allocations: 0 / 1.23 GB, free: 4.652 MB / 0.9825 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.001021/0.2971, allocations: 0.6194 MB / 1.231 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2971, allocations: 8.031 kB / 1.231 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.2972, allocations: 40.69 kB / 1.231 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.2977, allocations: 319.6 kB / 1.231 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2977, allocations: 20.94 kB / 1.231 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.2977, allocations: 24.38 kB / 1.231 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.2983, allocations: 280.2 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2983, allocations: 3.938 kB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2984, allocations: 12 kB / 1.231 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2984, allocations: 4 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.2989, allocations: 214.1 kB / 1.232 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3004, allocations: 0.9782 MB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.3009, allocations: 271.9 kB / 1.233 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.3012, allocations: 104.8 kB / 1.233 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3012, allocations: 4 kB / 1.233 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3012, allocations: 38.5 kB / 1.233 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3012, allocations: 0 / 1.233 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.000723/0.302, allocations: 253.4 kB / 1.233 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.302, allocations: 59.41 kB / 1.233 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3023, allocations: 270.7 kB / 1.233 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.3023, allocations: 29.7 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.3025, allocations: 184.2 kB / 1.234 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.3025, allocations: 59.53 kB / 1.234 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.3026, allocations: 37.7 kB / 1.234 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3027, allocations: 338.8 kB / 1.234 GB, free: 272 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.303, allocations: 80.81 kB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.3032, allocations: 117 kB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.3037, allocations: 197.9 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3037, allocations: 0 / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005567/0.3043, allocations: 245.3 kB / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3043, allocations: 8 kB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3043, allocations: 0 / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3044, allocations: 7.984 kB / 1.235 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.3046, allocations: 39.97 kB / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3046, allocations: 0 / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.3048, allocations: 35.77 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3048, allocations: 12.09 kB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000287/0.3051, allocations: 188 kB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001969/0.3053, allocations: 111.8 kB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003675/0.3057, allocations: 182.1 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.3057, allocations: 0 / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000486/0.3062, allocations: 247.1 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.3062, allocations: 4 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.3062, allocations: 0 / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.3062, allocations: 4.062 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.3064, allocations: 43.97 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3064, allocations: 4 kB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3066, allocations: 27.86 kB / 1.236 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3066, allocations: 11.88 kB / 1.236 GB, free: 14.65 MB / 0.9981 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.0001184/0.3067, allocations: 197.6 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3068, allocations: 27.81 kB / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.3074, allocations: 219.6 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3074, allocations: 0 / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3074, allocations: 0 / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3074, allocations: 8 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009262/0.3083, allocations: 0.6255 MB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3083, allocations: 0 / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.3085, allocations: 35.91 kB / 1.237 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3085, allocations: 4 kB / 1.237 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3086, allocations: 4 kB / 1.237 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3086, allocations: 4 kB / 1.237 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3086, allocations: 0 / 1.237 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/0.3094, allocations: 391.2 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.3094, allocations: 100.9 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3095, allocations: 12.05 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3096, allocations: 11.98 kB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.3097, allocations: 19.92 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3097, allocations: 7.938 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001956/0.3099, allocations: 194 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3099, allocations: 0 / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004048/0.3103, allocations: 83.78 kB / 1.237 GB, free: 12.63 MB / 0.9981 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.00012/0.3105, allocations: 106.5 kB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007459/0.3112, allocations: 281.7 kB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3112, allocations: 0 / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.3115, allocations: 100.3 kB / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.3119, allocations: 37.86 kB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.3128, allocations: 470.5 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3132, allocations: 0.7595 MB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.3133, allocations: 29.94 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.3134, allocations: 23.44 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.3134, allocations: 0 / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.005412/0.3188, allocations: 2.353 MB / 1.241 GB, free: 8.469 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches