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.0008966/0.0008966, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009922/0.0009923, allocations: 178.3 kB / 16.92 MB, free: 6.648 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.315/1.315, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.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.516/2.516, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003769, allocations: 12.23 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6479/0.6483, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002695/0.6511, allocations: 1.885 MB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.6523, allocations: 0.5024 MB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.6526, allocations: 4 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.6528, allocations: 31.66 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.653, allocations: 27.8 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.6533, allocations: 119.9 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.6538, allocations: 336.2 kB / 1.027 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.6541, allocations: 173.1 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.6543, allocations: 83.52 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.6545, allocations: 95.34 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.6545, allocations: 11.94 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/0.6545, allocations: 8 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.6546, allocations: 47.78 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.6547, allocations: 132.9 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.6551, allocations: 365 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6551, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6551, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.6551, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 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.0009756/0.6561, allocations: 0.5692 MB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6561, allocations: 8.031 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.6562, allocations: 36.47 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.6567, allocations: 315.4 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.6567, allocations: 20.94 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.6568, allocations: 24.38 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/0.6574, allocations: 292.1 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6574, allocations: 7.938 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.6574, allocations: 12 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.6574, allocations: 8 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005658/0.658, allocations: 226.1 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.6596, allocations: 0.9897 MB / 1.03 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.6601, allocations: 279.9 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.6604, allocations: 112.8 kB / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.6604, allocations: 0 / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.6604, allocations: 38.56 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.6604, allocations: 0 / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0007556/0.6612, allocations: 283.3 kB / 1.031 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.6613, allocations: 55.41 kB / 1.031 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.6616, allocations: 270.7 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.6616, allocations: 29.7 kB / 1.031 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.6617, allocations: 184 kB / 1.031 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.6618, allocations: 55.2 kB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.6618, allocations: 29.7 kB / 1.031 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.662, allocations: 330.8 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.6622, allocations: 87.81 kB / 1.032 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.6624, allocations: 125.1 kB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.6629, allocations: 205.7 kB / 1.032 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6629, allocations: 4 kB / 1.032 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005609/0.6635, allocations: 262.8 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/0.6636, allocations: 116.4 kB / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6636, allocations: 8.031 kB / 1.032 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6636, allocations: 0 / 1.032 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.6639, allocations: 51.91 kB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.6639, allocations: 4 kB / 1.032 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.6641, allocations: 31.73 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.6641, allocations: 11.94 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.6641, allocations: 4 kB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004296/0.6645, allocations: 203.7 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.6645, allocations: 4 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.6646, allocations: 4.125 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.6647, allocations: 51.91 kB / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.6648, allocations: 4 kB / 1.033 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.6649, allocations: 27.83 kB / 1.033 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.6649, allocations: 4.062 kB / 1.033 GB, free: 6.441 MB / 0.7794 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.0001948/0.6651, allocations: 227.2 kB / 1.033 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.6652, allocations: 31.64 kB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005941/0.6658, allocations: 241.7 kB / 1.033 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6658, allocations: 4 kB / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6658, allocations: 0 / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6658, allocations: 0 / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.6668, allocations: 0.6348 MB / 1.034 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6668, allocations: 3.938 kB / 1.034 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.6671, allocations: 39.97 kB / 1.034 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6671, allocations: 0 / 1.034 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.6671, allocations: 8 kB / 1.034 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6671, allocations: 0 / 1.034 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6671, allocations: 4 kB / 1.034 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.6679, allocations: 420.5 kB / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.668, allocations: 108.8 kB / 1.034 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.668, allocations: 0 / 1.034 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.6682, allocations: 19.98 kB / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.6682, allocations: 12.05 kB / 1.034 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.6683, allocations: 8 kB / 1.034 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000196/0.6685, allocations: 198 kB / 1.034 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6685, allocations: 0 / 1.034 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004144/0.6689, allocations: 83.69 kB / 1.035 GB, free: 4.328 MB / 0.7794 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.0001331/0.669, allocations: 107.2 kB / 1.035 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007615/0.6698, allocations: 309.9 kB / 1.035 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6698, allocations: 0 / 1.035 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.67, allocations: 91.89 kB / 1.035 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.6705, allocations: 38.45 kB / 1.035 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.6715, allocations: 0.6124 MB / 1.036 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.6718, allocations: 0.7521 MB / 1.036 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.6719, allocations: 27.42 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.6719, allocations: 0 / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of Templates: time 0.005465/0.6774, allocations: 3.088 MB / 1.039 GB, free: 15.26 MB / 0.795 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/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