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.001219/0.001219, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.001194/0.001194, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.2 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.279/2.279, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 68.12 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2786, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003326/0.282, allocations: 2.213 MB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.2829, allocations: 0.5257 MB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.283, allocations: 8 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.2832, allocations: 47.47 kB / 1.022 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2833, allocations: 47.58 kB / 1.022 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.2837, allocations: 135.8 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.284, allocations: 372.2 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2843, allocations: 177.1 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2844, allocations: 131.5 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2846, allocations: 139.3 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.2846, allocations: 43.94 kB / 1.023 GB, free: 6.016 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.2847, allocations: 40 kB / 1.023 GB, free: 5.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.2847, allocations: 79.75 kB / 1.023 GB, free: 5.898 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2849, allocations: 155.2 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.2852, allocations: 470.3 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2852, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2852, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2853, allocations: 0 / 1.023 GB, free: 5.285 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.0008653/0.2861, allocations: 0.608 MB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2862, allocations: 12.92 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.2862, allocations: 36.47 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.2867, allocations: 327.3 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2867, allocations: 16.94 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.2867, allocations: 24.38 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.2873, allocations: 284.2 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2874, allocations: 3.938 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.2874, allocations: 8 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2874, allocations: 8 kB / 1.025 GB, free: 3.875 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.2879, allocations: 214.1 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.2892, allocations: 0.9741 MB / 1.026 GB, free: 2.629 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.2897, allocations: 272.7 kB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.2899, allocations: 107.2 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.2899, allocations: 11.94 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.29, allocations: 30.56 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.29, allocations: 0 / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0006481/0.2906, allocations: 267.1 kB / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.2907, allocations: 55.41 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.2909, allocations: 266.7 kB / 1.027 GB, free: 1.582 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.291, allocations: 33.7 kB / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.2911, allocations: 176.1 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.2911, allocations: 55.19 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.2912, allocations: 41.7 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2913, allocations: 334.8 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.2915, allocations: 88.67 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.2917, allocations: 121 kB / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.2921, allocations: 189.9 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2921, allocations: 0 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000474/0.2926, allocations: 251.1 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2926, allocations: 4 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2926, allocations: 4 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2927, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.2929, allocations: 51.91 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2929, allocations: 0 / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.2931, allocations: 31.8 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2931, allocations: 12 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002447/0.2933, allocations: 180.2 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001709/0.2935, allocations: 111.5 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003151/0.2938, allocations: 186.3 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.2938, allocations: 0 / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004104/0.2943, allocations: 241.2 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.2943, allocations: 11.98 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.2943, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-06/0.2943, allocations: 4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.2945, allocations: 43.98 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2945, allocations: 3.984 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2946, allocations: 19.84 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2946, allocations: 12.06 kB / 1.029 GB, free: 15.31 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.0001004/0.2947, allocations: 204.1 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.2948, allocations: 23.66 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.2953, allocations: 219.6 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2953, allocations: 0 / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2953, allocations: 4 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2953, allocations: 0 / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.2961, allocations: 0.6216 MB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2962, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.2963, allocations: 43.91 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2964, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2964, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2964, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2964, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.297, allocations: 390.9 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.2971, allocations: 112.9 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.2972, allocations: 4 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2973, allocations: 11.98 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.2974, allocations: 11.98 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2974, allocations: 7.938 kB / 1.03 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001654/0.2976, allocations: 198 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2976, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003651/0.2979, allocations: 83.69 kB / 1.031 GB, free: 13.3 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.0001134/0.2981, allocations: 109.5 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006269/0.2987, allocations: 281.7 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2987, allocations: 0.5 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.2989, allocations: 87.89 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2993, allocations: 36.55 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.3, allocations: 461.5 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.3003, allocations: 0.7558 MB / 1.032 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.3004, allocations: 29.94 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.3005, allocations: 27.42 kB / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3005, allocations: 0 / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of Templates: time 0.005085/0.3056, allocations: 2.298 MB / 1.035 GB, free: 9.199 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 cvode -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