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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001494/0.001494, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001608/0.001608, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.337/1.337, 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 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.83 kB / 0.8773 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 153 MB / 1.027 GB, free: 2.141 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003565/0.2949, allocations: 2.22 MB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2961, allocations: 0.5258 MB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.2963, allocations: 11.94 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.2965, allocations: 43.53 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.2967, allocations: 47.53 kB / 1.03 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.297, allocations: 139.8 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000392/0.2974, allocations: 368.2 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.2977, allocations: 181.1 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.2979, allocations: 135.4 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.298, allocations: 135.3 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.2981, allocations: 44 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.2982, allocations: 40 kB / 1.031 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.2982, allocations: 83.7 kB / 1.031 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.2984, allocations: 143.2 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.2988, allocations: 478.4 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.2988, allocations: 4 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2988, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2988, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 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.0009366/0.2998, allocations: 0.6041 MB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2998, allocations: 8.031 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.2999, allocations: 40.47 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.3004, allocations: 319.4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3004, allocations: 20.94 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.3005, allocations: 24.38 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.301, allocations: 280.2 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.301, allocations: 7.938 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.301, allocations: 12 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.301, allocations: 4 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.3015, allocations: 206.1 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3029, allocations: 0.9857 MB / 1.034 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.3033, allocations: 279.9 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3036, allocations: 101.6 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3036, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3036, allocations: 34.56 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 9.32e-07/0.3036, allocations: 0 / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0006612/0.3043, allocations: 267.8 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3043, allocations: 55.41 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3046, allocations: 266.7 kB / 1.035 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3046, allocations: 29.7 kB / 1.035 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3047, allocations: 180 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.3048, allocations: 55.2 kB / 1.035 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.3049, allocations: 45.7 kB / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.305, allocations: 334.8 kB / 1.035 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.3052, allocations: 76.81 kB / 1.035 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.3055, allocations: 118.1 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.3059, allocations: 193.8 kB / 1.036 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3059, allocations: 4.031 kB / 1.036 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005305/0.3064, allocations: 250.8 kB / 1.036 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.3064, allocations: 8 kB / 1.036 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3065, allocations: 0 / 1.036 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3065, allocations: 7.938 kB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.3067, allocations: 48.03 kB / 1.036 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.3068, allocations: 7.984 kB / 1.036 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3069, allocations: 27.77 kB / 1.036 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.307, allocations: 8 kB / 1.036 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002633/0.3072, allocations: 180.1 kB / 1.036 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002065/0.3074, allocations: 113.9 kB / 1.036 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003418/0.3078, allocations: 178.4 kB / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.3078, allocations: 4.031 kB / 1.036 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004491/0.3083, allocations: 241.1 kB / 1.037 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.3083, allocations: 4 kB / 1.037 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3083, allocations: 4 kB / 1.037 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-06/0.3083, allocations: 0 / 1.037 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3085, allocations: 47.97 kB / 1.037 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3085, allocations: 8.125 kB / 1.037 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.3086, allocations: 23.83 kB / 1.037 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.3087, allocations: 4 kB / 1.037 GB, free: 7.594 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.0001224/0.3088, allocations: 196.1 kB / 1.037 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.3088, allocations: 27.7 kB / 1.037 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.3094, allocations: 215.7 kB / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3094, allocations: 0 / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3094, allocations: 7.938 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3094, allocations: 0 / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009391/0.3104, allocations: 0.6293 MB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3104, allocations: 0 / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.3106, allocations: 35.97 kB / 1.038 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3106, allocations: 4 kB / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3106, allocations: 4 kB / 1.038 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3106, allocations: 0 / 1.038 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3106, allocations: 0 / 1.038 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.3114, allocations: 398.9 kB / 1.038 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.3115, allocations: 100.8 kB / 1.038 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.3115, allocations: 8 kB / 1.038 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3117, allocations: 7.984 kB / 1.038 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.3117, allocations: 15.98 kB / 1.038 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.3118, allocations: 7.938 kB / 1.038 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002061/0.312, allocations: 202 kB / 1.038 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.312, allocations: 0 / 1.038 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004032/0.3124, allocations: 83.69 kB / 1.039 GB, free: 5.578 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.0001387/0.3125, allocations: 107.2 kB / 1.039 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006885/0.3132, allocations: 275.9 kB / 1.039 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3133, allocations: 8 kB / 1.039 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.3135, allocations: 86.55 kB / 1.039 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3139, allocations: 38.94 kB / 1.039 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.3148, allocations: 459.4 kB / 1.039 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3151, allocations: 0.7634 MB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.3152, allocations: 21.94 kB / 1.04 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.3153, allocations: 31.44 kB / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.3153, allocations: 0 / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of Templates: time 0.005499/0.3208, allocations: 2.298 MB / 1.043 GB, free: 1.477 MB / 0.8106 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 -s gbode -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/jenkins1/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