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.00126/0.001259, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00146/0.00146, allocations: 177.3 kB / 15.94 MB, free: 228 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.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.234 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.405/2.405, allocations: 390.3 MB / 0.6653 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004695, allocations: 8 kB / 0.8145 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7903, allocations: 142.3 MB / 0.9535 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002215/0.7925, allocations: 1.814 MB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.7934, allocations: 498.4 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.7936, allocations: 4.031 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.7936, allocations: 23.72 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.7938, allocations: 42.27 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.7941, allocations: 98.47 kB / 0.9559 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.7944, allocations: 200.2 kB / 0.9561 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.7946, allocations: 123.5 kB / 0.9562 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.7947, allocations: 83.09 kB / 0.9563 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.7949, allocations: 90.09 kB / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.7949, allocations: 7.844 kB / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.7949, allocations: 8.875 kB / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.795, allocations: 39.73 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.795, allocations: 76.14 kB / 0.9565 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.7953, allocations: 369.2 kB / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.7953, allocations: 0 / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7953, allocations: 0 / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.7953, allocations: 0 / 0.9569 GB, free: 5.527 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.0008246/0.7961, allocations: 0.5616 MB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.7962, allocations: 8.875 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.7963, allocations: 36.52 kB / 0.9575 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.7967, allocations: 316.2 kB / 0.9578 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.7967, allocations: 17.56 kB / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.7968, allocations: 28.03 kB / 0.9578 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.7973, allocations: 289.4 kB / 0.9581 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.7974, allocations: 0 / 0.9581 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.7974, allocations: 18.14 kB / 0.9581 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.7974, allocations: 6 kB / 0.9581 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.798, allocations: 217.1 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.7993, allocations: 0.987 MB / 0.9593 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.7999, allocations: 284 kB / 0.9595 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.7999, allocations: 6.734 kB / 0.9596 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.7999, allocations: 31.94 kB / 0.9596 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.7999, allocations: 0 / 0.9596 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0007538/0.8007, allocations: 289.7 kB / 0.9599 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.8007, allocations: 56.73 kB / 0.9599 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.8011, allocations: 270.2 kB / 0.9602 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.8011, allocations: 30.58 kB / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.8012, allocations: 179.7 kB / 0.9604 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.8013, allocations: 54.64 kB / 0.9604 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.8013, allocations: 0.8125 kB / 0.9604 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.8014, allocations: 340.1 kB / 0.9608 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.8016, allocations: 83.52 kB / 0.9608 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.8018, allocations: 123.3 kB / 0.9609 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.8021, allocations: 98.5 kB / 0.961 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8021, allocations: 0.75 kB / 0.961 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005422/0.8026, allocations: 255.6 kB / 0.9613 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.8027, allocations: 452.2 kB / 0.9617 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.8028, allocations: 1.094 kB / 0.9617 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8028, allocations: 6.562 kB / 0.9617 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.803, allocations: 47.69 kB / 0.9618 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.803, allocations: 10.94 kB / 0.9618 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.8032, allocations: 32.95 kB / 0.9618 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.8032, allocations: 9.312 kB / 0.9618 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.8032, allocations: 4.188 kB / 0.9618 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000426/0.8037, allocations: 210.8 kB / 0.962 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.8037, allocations: 1.25 kB / 0.962 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.8037, allocations: 2.031 kB / 0.962 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.8039, allocations: 52.22 kB / 0.9621 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.8039, allocations: 2 kB / 0.9621 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.804, allocations: 23.45 kB / 0.9621 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.804, allocations: 13.59 kB / 0.9621 GB, free: 1.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.8042, allocations: 220.8 kB / 0.9623 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.8042, allocations: 26.55 kB / 0.9624 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.8048, allocations: 233.2 kB / 0.9626 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.8048, allocations: 2.188 kB / 0.9626 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8048, allocations: 1.156 kB / 0.9626 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8048, allocations: 0 / 0.9626 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.8058, allocations: 0.6443 MB / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8058, allocations: 0 / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.806, allocations: 34.33 kB / 0.9632 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.806, allocations: 9.609 kB / 0.9632 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.806, allocations: 5.062 kB / 0.9633 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.806, allocations: 0 / 0.9633 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.806, allocations: 1.25 kB / 0.9633 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.8067, allocations: 416.1 kB / 0.9637 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.8068, allocations: 102.8 kB / 0.9637 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.8068, allocations: 2.25 kB / 0.9638 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.807, allocations: 27.44 kB / 0.9638 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.8071, allocations: 8.797 kB / 0.9638 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.8071, allocations: 4.906 kB / 0.9638 GB, free: 32 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002145/0.8073, allocations: 198.3 kB / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8073, allocations: 0 / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004132/0.8077, allocations: 86.66 kB / 0.9641 GB, free: 15.86 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 (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.0001399/0.8079, allocations: 106.8 kB / 0.9642 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007295/0.8086, allocations: 299.1 kB / 0.9644 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8086, allocations: 0 / 0.9644 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.8089, allocations: 93.3 kB / 0.9645 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.8093, allocations: 48.45 kB / 0.9646 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.8103, allocations: 0.5431 MB / 0.9651 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.8106, allocations: 0.7664 MB / 0.9659 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.8108, allocations: 33.27 kB / 0.9659 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.8109, allocations: 20 kB / 0.9659 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8109, allocations: 1.125 kB / 0.9659 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of Templates: time 0.00611/0.817, allocations: 2.032 MB / 0.9679 GB, free: 13.41 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","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches