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.0009033/0.0009032, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001097/0.001097, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.057/3.057, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.000465, allocations: 12.12 kB / 0.9021 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4255, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002799/0.4284, allocations: 1.805 MB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.4297, allocations: 490.7 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.43, allocations: 4 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.4302, allocations: 35.66 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.4304, allocations: 31.78 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.4308, allocations: 83.78 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000455/0.4313, allocations: 316.3 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.4316, allocations: 120.3 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.4318, allocations: 79.58 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.432, allocations: 95.42 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.432, allocations: 8 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.432, allocations: 11.94 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.4321, allocations: 35.83 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.4322, allocations: 73.52 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.4325, allocations: 359.3 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4325, allocations: 0 / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4325, allocations: 0 / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4326, allocations: 0 / 1.061 GB, free: 1.789 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.001078/0.4336, allocations: 0.5807 MB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.4337, allocations: 8.031 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.4338, allocations: 31.62 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.4343, allocations: 306 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.4343, allocations: 24.52 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.4344, allocations: 24 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.435, allocations: 287.7 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.435, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.435, allocations: 8 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4351, allocations: 8 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.4356, allocations: 226.1 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.4373, allocations: 0.9937 MB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.4378, allocations: 287.1 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.4381, allocations: 116.9 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.4381, allocations: 4 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.4382, allocations: 34.56 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.4382, allocations: 0 / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007425/0.4389, allocations: 275.9 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.439, allocations: 63.34 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.4393, allocations: 274.7 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4394, allocations: 25.7 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4395, allocations: 176.1 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.4396, allocations: 59.19 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.4396, allocations: 7.938 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4398, allocations: 330.8 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.44, allocations: 83.95 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.4402, allocations: 121.1 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.4404, allocations: 89.47 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4405, allocations: 4 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005315/0.441, allocations: 266.7 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.4411, allocations: 122.6 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4411, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4411, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.4414, allocations: 51.91 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4414, allocations: 0 / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.4415, allocations: 35.73 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.4416, allocations: 4 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.4416, allocations: 7.953 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004213/0.442, allocations: 207.8 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.442, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/0.442, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.4422, allocations: 44 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4422, allocations: 11.98 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.4424, allocations: 23.84 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.4424, allocations: 7.984 kB / 1.066 GB, free: 12.34 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.4426, allocations: 225.1 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.4426, allocations: 23.72 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.4432, allocations: 231.6 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4432, allocations: 7.953 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4432, allocations: 0 / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4432, allocations: 11.97 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009226/0.4441, allocations: 0.6288 MB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4442, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.4443, allocations: 39.97 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4444, allocations: 3.953 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.4444, allocations: 7.938 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4444, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4444, allocations: 4 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.4452, allocations: 417 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.4453, allocations: 108.7 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.4453, allocations: 7.953 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.4455, allocations: 19.98 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.4455, allocations: 15.98 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.4455, allocations: 7.984 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002048/0.4457, allocations: 194 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4458, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003933/0.4462, allocations: 87.59 kB / 1.068 GB, free: 10.22 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.4463, allocations: 103.2 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006865/0.447, allocations: 292.9 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.447, allocations: 448 / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.4472, allocations: 99.89 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4477, allocations: 36.53 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.4487, allocations: 0.5481 MB / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.4491, allocations: 0.7599 MB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.4493, allocations: 29.94 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.4494, allocations: 19.44 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of SimCode: time 1.072e-06/0.4494, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of Templates: time 0.006243/0.4556, allocations: 2.035 MB / 1.072 GB, free: 6.27 MB / 0.8262 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