Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0014/0.0014, allocations: 119.5 kB / 16.37 MB, free: 6.016 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.001686/0.001686, allocations: 193 kB / 17.31 MB, free: 5.613 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 59.69 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2789, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003289/0.2822, allocations: 2.215 MB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008728/0.2831, allocations: 0.5258 MB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.2832, allocations: 4 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.2834, allocations: 43.47 kB / 1.022 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2835, allocations: 55.52 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.2838, allocations: 135.8 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.2841, allocations: 368.2 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.2844, allocations: 181.1 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.2846, allocations: 139.4 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2848, allocations: 139.2 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.2848, allocations: 40 kB / 1.023 GB, free: 6.039 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.2849, allocations: 40 kB / 1.023 GB, free: 6 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.2849, allocations: 75.77 kB / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2851, allocations: 155.2 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.2855, allocations: 470.4 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2855, allocations: 4 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2855, allocations: 3.938 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.2855, allocations: 0 / 1.023 GB, free: 5.305 MB / 0.795 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.0008922/0.2864, allocations: 0.6042 MB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.2864, allocations: 12.92 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.2865, allocations: 36.47 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.287, allocations: 323.3 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.287, allocations: 16.94 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.287, allocations: 24.38 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.2875, allocations: 288.2 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2876, allocations: 3.938 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.2876, allocations: 12 kB / 1.025 GB, free: 3.902 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2876, allocations: 8 kB / 1.025 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.2881, allocations: 210.1 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.2894, allocations: 0.974 MB / 1.026 GB, free: 2.652 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.2899, allocations: 272.4 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.2901, allocations: 109.6 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2902, allocations: 7.984 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2902, allocations: 34.56 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.2902, allocations: 0 / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0006823/0.2909, allocations: 263.3 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.2909, allocations: 51.41 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.2912, allocations: 274.7 kB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2912, allocations: 25.7 kB / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.2914, allocations: 176.1 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.2914, allocations: 55.14 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.2915, allocations: 45.7 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2916, allocations: 334.8 kB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2918, allocations: 84.67 kB / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.2921, allocations: 119.7 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.2924, allocations: 189.9 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2925, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005038/0.293, allocations: 257.1 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.293, allocations: 8 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.293, allocations: 0 / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.293, allocations: 0 / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.2933, allocations: 43.97 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2933, allocations: 3.938 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2934, allocations: 39.8 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2934, allocations: 4 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002524/0.2937, allocations: 180.1 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00018/0.2939, allocations: 109.2 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003295/0.2942, allocations: 186 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.2942, allocations: 3.938 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004309/0.2947, allocations: 243.2 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.2947, allocations: 8 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.2947, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2947, allocations: 11.97 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.2949, allocations: 43.92 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.2949, allocations: 0 / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.2951, allocations: 19.95 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2951, allocations: 16 kB / 1.029 GB, free: 15.33 MB / 0.8106 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.0001027/0.2952, allocations: 188.2 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.2952, allocations: 27.7 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.2958, allocations: 215.6 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.2958, allocations: 4 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2958, allocations: 0 / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2958, allocations: 0 / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.2967, allocations: 0.627 MB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2967, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.2969, allocations: 35.97 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2969, allocations: 4 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.2969, allocations: 8 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2969, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2969, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.2976, allocations: 401.5 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.2977, allocations: 104.8 kB / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2977, allocations: 0 / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2979, allocations: 15.98 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.2979, allocations: 7.984 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.298, allocations: 11.94 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000182/0.2982, allocations: 198 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2982, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003998/0.2986, allocations: 83.69 kB / 1.031 GB, free: 13.32 MB / 0.8106 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.0001111/0.2987, allocations: 99.31 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006805/0.2994, allocations: 284 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2994, allocations: 64 / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.2996, allocations: 87.89 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3, allocations: 48.98 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.3008, allocations: 459.2 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3011, allocations: 0.7558 MB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.3012, allocations: 29.94 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.3013, allocations: 23.42 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3013, allocations: 0 / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.005449/0.3068, allocations: 2.305 MB / 1.035 GB, free: 9.219 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches