Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009901/0.0009899, allocations: 92.23 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.001182/0.001182, allocations: 185.2 kB / 16.92 MB, free: 6.922 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: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.9 MB / 0.667 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 11.98 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.6667, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001915/0.6686, allocations: 1.883 MB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000854/0.6695, allocations: 0.4903 MB / 0.958 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.6697, allocations: 4.688 kB / 0.958 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.6698, allocations: 34.47 kB / 0.9581 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.6699, allocations: 34.59 kB / 0.9581 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.6702, allocations: 127.3 kB / 0.9582 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.6705, allocations: 332.4 kB / 0.9585 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.6708, allocations: 161.7 kB / 0.9587 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.6709, allocations: 84.64 kB / 0.9588 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.671, allocations: 102.5 kB / 0.9589 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.6711, allocations: 12.28 kB / 0.9589 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.412e-05/0.6711, allocations: 8.031 kB / 0.9589 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.6711, allocations: 40.78 kB / 0.9589 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.6712, allocations: 133.8 kB / 0.9591 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.6715, allocations: 366.8 kB / 0.9594 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.6715, allocations: 0 / 0.9594 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6715, allocations: 0 / 0.9594 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6715, allocations: 3.938 kB / 0.9594 GB, free: 4.746 MB / 0.7169 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.0007511/0.6723, allocations: 0.5667 MB / 0.96 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.6723, allocations: 13.62 kB / 0.96 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.6724, allocations: 40.97 kB / 0.96 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.6727, allocations: 312.6 kB / 0.9603 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.6727, allocations: 18.56 kB / 0.9603 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.6728, allocations: 24.88 kB / 0.9604 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.6733, allocations: 297 kB / 0.9606 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6733, allocations: 7.922 kB / 0.9606 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.6734, allocations: 10.66 kB / 0.9607 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.6734, allocations: 6.719 kB / 0.9607 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.6739, allocations: 222.3 kB / 0.9609 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.6752, allocations: 0.9786 MB / 0.9618 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.6757, allocations: 278.6 kB / 0.9621 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.6759, allocations: 116.4 kB / 0.9622 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.676, allocations: 1.938 kB / 0.9622 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.676, allocations: 40.5 kB / 0.9623 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.676, allocations: 0 / 0.9623 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0007428/0.6768, allocations: 282.6 kB / 0.9625 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.6768, allocations: 57.69 kB / 0.9626 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.6771, allocations: 275.8 kB / 0.9628 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.6771, allocations: 26.86 kB / 0.9629 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.6772, allocations: 187.8 kB / 0.963 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.6772, allocations: 54.23 kB / 0.9631 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.6773, allocations: 23.56 kB / 0.9631 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.6773, allocations: 332 kB / 0.9634 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.6775, allocations: 84.08 kB / 0.9635 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.6778, allocations: 126.3 kB / 0.9636 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.6782, allocations: 217.1 kB / 0.9638 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6782, allocations: 3.938 kB / 0.9638 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00052/0.6787, allocations: 262.5 kB / 0.9641 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.6788, allocations: 124 kB / 0.9642 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6788, allocations: 1.219 kB / 0.9642 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6788, allocations: 2.25 kB / 0.9642 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.6791, allocations: 48.22 kB / 0.9643 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.6791, allocations: 2 kB / 0.9643 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.6793, allocations: 33.52 kB / 0.9643 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.6793, allocations: 17.02 kB / 0.9643 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.6793, allocations: 4.562 kB / 0.9643 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004256/0.6797, allocations: 207.5 kB / 0.9645 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.6797, allocations: 0 / 0.9645 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.6797, allocations: 1.375 kB / 0.9645 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.6799, allocations: 46.06 kB / 0.9646 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.6799, allocations: 2.406 kB / 0.9646 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.6801, allocations: 28.86 kB / 0.9646 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.6801, allocations: 4.594 kB / 0.9646 GB, free: 0.7383 MB / 0.7169 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.0001396/0.6803, allocations: 229.3 kB / 0.9648 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.6803, allocations: 26 kB / 0.9648 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/0.6808, allocations: 243 kB / 0.9651 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6809, allocations: 2.594 kB / 0.9651 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6809, allocations: 0 / 0.9651 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6809, allocations: 0 / 0.9651 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008983/0.6818, allocations: 0.6383 MB / 0.9657 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6818, allocations: 0 / 0.9657 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.682, allocations: 38.44 kB / 0.9657 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.682, allocations: 1.062 kB / 0.9657 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.682, allocations: 13.17 kB / 0.9657 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.682, allocations: 1.062 kB / 0.9657 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6821, allocations: 1.219 kB / 0.9657 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007593/0.6828, allocations: 415.2 kB / 0.9661 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.6829, allocations: 107.5 kB / 0.9662 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.6829, allocations: 5.312 kB / 0.9663 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.6831, allocations: 19.39 kB / 0.9663 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.6832, allocations: 18.16 kB / 0.9663 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.6832, allocations: 3.438 kB / 0.9663 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002024/0.6834, allocations: 196 kB / 0.9665 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6834, allocations: 0.9688 kB / 0.9665 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000422/0.6838, allocations: 81.72 kB / 0.9666 GB, free: 15.24 MB / 0.7325 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.0001168/0.684, allocations: 105.8 kB / 0.9667 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000739/0.6847, allocations: 313 kB / 0.967 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6847, allocations: 1.156 kB / 0.967 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.685, allocations: 94.77 kB / 0.967 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.6854, allocations: 42.16 kB / 0.9671 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.6864, allocations: 0.5934 MB / 0.9677 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.6867, allocations: 0.7579 MB / 0.9684 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.6868, allocations: 22.25 kB / 0.9684 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.074e-06/0.6868, allocations: 0 / 0.9684 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.005476/0.6923, allocations: 3.1 MB / 0.9715 GB, free: 12.15 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches