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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007644/0.007644, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001847/0.001847, allocations: 193.1 kB / 16.67 MB, free: 5.969 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7492/0.7507, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003407/0.7541, allocations: 2.214 MB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.7552, allocations: 0.5336 MB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.7554, allocations: 7.938 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.7556, allocations: 51.52 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.7558, allocations: 35.55 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.7561, allocations: 135.8 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.7565, allocations: 368.2 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.7568, allocations: 177.1 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.757, allocations: 135.5 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.7572, allocations: 139.3 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.7572, allocations: 40.05 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.182e-05/0.7573, allocations: 44 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.7574, allocations: 75.72 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.7575, allocations: 159.1 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.758, allocations: 474.7 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.758, allocations: 4 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-06/0.758, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.758, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 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.001074/0.7591, allocations: 0.6156 MB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7592, allocations: 12.62 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.7593, allocations: 36.7 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.7598, allocations: 319.5 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.7598, allocations: 20.92 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.7598, allocations: 24.38 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.7604, allocations: 292.2 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7604, allocations: 3.938 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.7605, allocations: 8 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.7605, allocations: 4 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.761, allocations: 210.1 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.7625, allocations: 0.9783 MB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.763, allocations: 275.9 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.7633, allocations: 105.9 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.7633, allocations: 0 / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.7634, allocations: 38.56 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.7634, allocations: 3.938 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0007362/0.7641, allocations: 259.3 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.7642, allocations: 59.34 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.7645, allocations: 270.7 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.7645, allocations: 25.7 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.7646, allocations: 180.3 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.7647, allocations: 63.47 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.7648, allocations: 45.7 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7649, allocations: 334.8 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.7651, allocations: 80.67 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.7654, allocations: 119.5 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.7658, allocations: 198.4 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7658, allocations: 0 / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005564/0.7664, allocations: 247.5 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7664, allocations: 8 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7664, allocations: 3.984 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7664, allocations: 4.125 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.7667, allocations: 47.91 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.7667, allocations: 0 / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.7669, allocations: 35.77 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.7669, allocations: 7.984 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002568/0.7672, allocations: 176.1 kB / 1.176 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002017/0.7674, allocations: 121.1 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003578/0.7677, allocations: 172.2 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.7678, allocations: 0 / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004832/0.7682, allocations: 247.1 kB / 1.176 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.7683, allocations: 4 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.7683, allocations: 0 / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.509e-06/0.7683, allocations: 4 kB / 1.176 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.7685, allocations: 52.03 kB / 1.177 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7685, allocations: 4 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.7686, allocations: 19.88 kB / 1.177 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.7687, allocations: 8 kB / 1.177 GB, free: 9.277 MB / 0.9044 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.000115/0.7688, allocations: 192.1 kB / 1.177 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.7688, allocations: 27.81 kB / 1.177 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.7694, allocations: 218.2 kB / 1.177 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.7694, allocations: 0 / 1.177 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7694, allocations: 11.92 kB / 1.177 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7694, allocations: 0 / 1.177 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.7704, allocations: 0.6232 MB / 1.178 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7704, allocations: 4 kB / 1.178 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.7706, allocations: 36.03 kB / 1.178 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7706, allocations: 7.938 kB / 1.178 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.7706, allocations: 0 / 1.178 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7706, allocations: 3.984 kB / 1.178 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7706, allocations: 0 / 1.178 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.7714, allocations: 405.6 kB / 1.178 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.7715, allocations: 100.9 kB / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.7715, allocations: 0 / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.7717, allocations: 15.98 kB / 1.178 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.7717, allocations: 15.97 kB / 1.178 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.7718, allocations: 11.94 kB / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001806/0.7719, allocations: 194 kB / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7719, allocations: 0 / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003941/0.7723, allocations: 87.73 kB / 1.178 GB, free: 7.242 MB / 0.9044 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.0001156/0.7725, allocations: 103.2 kB / 1.179 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007292/0.7732, allocations: 279.7 kB / 1.179 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7732, allocations: 4 kB / 1.179 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.7735, allocations: 83.89 kB / 1.179 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.7739, allocations: 42 kB / 1.179 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.7747, allocations: 478.5 kB / 1.179 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.775, allocations: 0.7558 MB / 1.18 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000132/0.7752, allocations: 37.91 kB / 1.18 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.7752, allocations: 19.44 kB / 1.18 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.7753, allocations: 0 / 1.18 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.006026/0.7813, allocations: 2.332 MB / 1.182 GB, free: 3.102 MB / 0.9044 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 -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/jenkins/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