Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 86.56 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.001443/0.001443, 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.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.426 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.731/2.731, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005375, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8927/0.8933, allocations: 142.4 MB / 0.9544 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.001982/0.8953, allocations: 1.67 MB / 0.9561 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006848/0.896, allocations: 412.6 kB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.8962, allocations: 4.25 kB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.8963, allocations: 30.64 kB / 0.9565 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.8964, allocations: 22.12 kB / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.8966, allocations: 54.95 kB / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.8969, allocations: 248 kB / 0.9568 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.8971, allocations: 98.11 kB / 0.9569 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.8972, allocations: 55.19 kB / 0.957 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.8973, allocations: 76.5 kB / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.8973, allocations: 5.25 kB / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.179e-05/0.8974, allocations: 5.906 kB / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.8974, allocations: 26.95 kB / 0.9571 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.8974, allocations: 64.2 kB / 0.9571 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.8977, allocations: 292 kB / 0.9574 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8977, allocations: 1.125 kB / 0.9574 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8977, allocations: 0 / 0.9574 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.8977, allocations: 0 / 0.9574 GB, free: 5.406 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006517/0.8984, allocations: 0.509 MB / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.8984, allocations: 8.125 kB / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.8985, allocations: 36.89 kB / 0.9579 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.8988, allocations: 272.1 kB / 0.9582 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.8988, allocations: 16.91 kB / 0.9582 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.8988, allocations: 24.64 kB / 0.9582 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.8993, allocations: 238.4 kB / 0.9585 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8993, allocations: 1.25 kB / 0.9585 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.8993, allocations: 13.2 kB / 0.9585 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.8994, allocations: 8.5 kB / 0.9585 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.8998, allocations: 190.5 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.9008, allocations: 0.8613 MB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.9013, allocations: 199 kB / 0.9597 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.9015, allocations: 106.4 kB / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.9015, allocations: 6.734 kB / 0.9598 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.9015, allocations: 35.94 kB / 0.9598 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.9015, allocations: 0 / 0.9598 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0005989/0.9021, allocations: 246.8 kB / 0.9601 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.9022, allocations: 83.86 kB / 0.9602 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.9024, allocations: 227.6 kB / 0.9604 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.9025, allocations: 35.02 kB / 0.9604 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.9026, allocations: 152.4 kB / 0.9606 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.9026, allocations: 40.17 kB / 0.9606 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.9026, allocations: 1 kB / 0.9606 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.9027, allocations: 334.8 kB / 0.9609 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.9029, allocations: 73.05 kB / 0.961 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.9031, allocations: 118.1 kB / 0.9611 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.9033, allocations: 83.64 kB / 0.9612 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9033, allocations: 0 / 0.9612 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004384/0.9037, allocations: 231.7 kB / 0.9614 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.9038, allocations: 110.2 kB / 0.9615 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9038, allocations: 8.703 kB / 0.9615 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9038, allocations: 1.875 kB / 0.9615 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.904, allocations: 38.94 kB / 0.9616 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.904, allocations: 1.844 kB / 0.9616 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.9041, allocations: 30.39 kB / 0.9616 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.9042, allocations: 12.56 kB / 0.9616 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.9042, allocations: 4 kB / 0.9616 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002977/0.9045, allocations: 149.9 kB / 0.9617 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.9045, allocations: 1 kB / 0.9617 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-06/0.9045, allocations: 6.406 kB / 0.9618 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.9046, allocations: 42.08 kB / 0.9618 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.9046, allocations: 4.953 kB / 0.9618 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.9047, allocations: 26.3 kB / 0.9618 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.9048, allocations: 4.375 kB / 0.9618 GB, free: 1.941 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001271/0.9049, allocations: 217.7 kB / 0.962 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.9049, allocations: 23.52 kB / 0.9621 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.905, allocations: 22.14 kB / 0.9621 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.905, allocations: 2.219 kB / 0.9621 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.905, allocations: 0 / 0.9621 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.905, allocations: 0.7188 kB / 0.9621 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.9053, allocations: 312.4 kB / 0.9624 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9053, allocations: 0 / 0.9624 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.9055, allocations: 37.25 kB / 0.9624 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.9055, allocations: 5.031 kB / 0.9624 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.9055, allocations: 4.922 kB / 0.9624 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9055, allocations: 1.156 kB / 0.9624 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9055, allocations: 0 / 0.9624 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.9061, allocations: 367.8 kB / 0.9628 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.9062, allocations: 101.6 kB / 0.9629 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.9062, allocations: 5.281 kB / 0.9629 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.9063, allocations: 21.78 kB / 0.9629 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.9064, allocations: 7.609 kB / 0.9629 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.9064, allocations: 6.062 kB / 0.9629 GB, free: 1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001416/0.9066, allocations: 169.9 kB / 0.9631 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9066, allocations: 0 / 0.9631 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003661/0.9069, allocations: 73.53 kB / 0.9631 GB, free: 0.8516 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (12): * Single equations (assignments): 12 * 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.0001225/0.9071, allocations: 100.4 kB / 0.9632 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005605/0.9076, allocations: 247 kB / 0.9635 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.9076, allocations: 1.125 kB / 0.9635 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.9078, allocations: 83.83 kB / 0.9636 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.9083, allocations: 32.88 kB / 0.9636 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.909, allocations: 459.9 kB / 0.964 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.9093, allocations: 0.7382 MB / 0.9647 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.254e-05/0.9094, allocations: 23.64 kB / 0.9648 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.9094, allocations: 17.03 kB / 0.9648 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.9094, allocations: 1.094 kB / 0.9648 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.005159/0.9146, allocations: 1.787 MB / 0.9665 GB, free: 14.64 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches