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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001248/0.001248, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01179/0.01179, allocations: 168.4 kB / 16.26 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.662/2.662, allocations: 390.9 MB / 0.6663 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004376, allocations: 19.98 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.897, allocations: 142.4 MB / 0.9551 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002413/0.8995, allocations: 1.731 MB / 0.9567 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007582/0.9003, allocations: 419.8 kB / 0.9571 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.9004, allocations: 3.219 kB / 0.9571 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.9006, allocations: 31.19 kB / 0.9572 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.9007, allocations: 29.25 kB / 0.9572 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.9009, allocations: 91.33 kB / 0.9573 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.9012, allocations: 260.1 kB / 0.9575 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.9015, allocations: 147.8 kB / 0.9577 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.9015, allocations: 59.22 kB / 0.9577 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.9016, allocations: 71.91 kB / 0.9578 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.9017, allocations: 9.406 kB / 0.9578 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.9017, allocations: 9.344 kB / 0.9578 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.9017, allocations: 30.97 kB / 0.9579 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.9018, allocations: 109.3 kB / 0.958 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.9021, allocations: 339.9 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9021, allocations: 1.375 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9021, allocations: 0 / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.9021, allocations: 0 / 0.9583 GB, free: 5.465 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.0007376/0.9029, allocations: 0.5067 MB / 0.9588 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.9029, allocations: 12.19 kB / 0.9588 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.903, allocations: 34.25 kB / 0.9588 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.9033, allocations: 273.4 kB / 0.9591 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.9033, allocations: 16.16 kB / 0.9591 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.9034, allocations: 17.44 kB / 0.9591 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.9039, allocations: 245.6 kB / 0.9593 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.9039, allocations: 7.938 kB / 0.9594 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.9039, allocations: 5.281 kB / 0.9594 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.9039, allocations: 6.094 kB / 0.9594 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.9044, allocations: 198.4 kB / 0.9596 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.9055, allocations: 0.853 MB / 0.9604 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/0.906, allocations: 200.4 kB / 0.9606 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.9063, allocations: 107.8 kB / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.9063, allocations: 1.375 kB / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.9063, allocations: 35.92 kB / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.9063, allocations: 0 / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0007067/0.9071, allocations: 260.4 kB / 0.961 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.9071, allocations: 79.14 kB / 0.961 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.9073, allocations: 235.5 kB / 0.9613 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.9074, allocations: 30.86 kB / 0.9613 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.9075, allocations: 148.1 kB / 0.9614 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.9075, allocations: 44.59 kB / 0.9615 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.9075, allocations: 30.67 kB / 0.9615 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.9076, allocations: 326.8 kB / 0.9618 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.9078, allocations: 72.89 kB / 0.9619 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.908, allocations: 119 kB / 0.962 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.9084, allocations: 177.5 kB / 0.9622 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.9084, allocations: 0 / 0.9622 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004745/0.9089, allocations: 225 kB / 0.9624 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.909, allocations: 121 kB / 0.9625 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.909, allocations: 5.25 kB / 0.9625 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.909, allocations: 2.469 kB / 0.9625 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.9092, allocations: 38.42 kB / 0.9625 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.9092, allocations: 14.23 kB / 0.9626 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.9094, allocations: 29.77 kB / 0.9626 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.9094, allocations: 8.562 kB / 0.9626 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.9094, allocations: 4.906 kB / 0.9626 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003179/0.9097, allocations: 148.4 kB / 0.9627 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.9097, allocations: 1.062 kB / 0.9627 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.9098, allocations: 1.844 kB / 0.9627 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.9099, allocations: 31.02 kB / 0.9628 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.9099, allocations: 1 kB / 0.9628 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.91, allocations: 37.95 kB / 0.9628 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.9101, allocations: 3.625 kB / 0.9628 GB, free: 1.918 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.9102, allocations: 221.9 kB / 0.963 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.9103, allocations: 20.25 kB / 0.963 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.9103, allocations: 18.03 kB / 0.9631 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.9103, allocations: 1.969 kB / 0.9631 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9103, allocations: 3.938 kB / 0.9631 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9103, allocations: 5.141 kB / 0.9631 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.9106, allocations: 300.6 kB / 0.9634 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9106, allocations: 0 / 0.9634 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.9108, allocations: 37.47 kB / 0.9634 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.9108, allocations: 1.031 kB / 0.9634 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.9108, allocations: 9.078 kB / 0.9634 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9109, allocations: 0 / 0.9634 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9109, allocations: 4.938 kB / 0.9634 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006726/0.9115, allocations: 376.6 kB / 0.9638 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.9116, allocations: 101.3 kB / 0.9639 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.9116, allocations: 1.125 kB / 0.9639 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.9118, allocations: 25.36 kB / 0.9639 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.9118, allocations: 16.36 kB / 0.9639 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.9118, allocations: 2.938 kB / 0.9639 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001503/0.912, allocations: 173.3 kB / 0.9641 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.912, allocations: 3.938 kB / 0.9641 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003644/0.9124, allocations: 65 kB / 0.9641 GB, free: 0.8164 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 (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.0001199/0.9125, allocations: 104.5 kB / 0.9642 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006152/0.9131, allocations: 249.2 kB / 0.9645 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9131, allocations: 7.906 kB / 0.9645 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.9133, allocations: 74.25 kB / 0.9646 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.9138, allocations: 40.38 kB / 0.9646 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.9146, allocations: 478.8 kB / 0.9651 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.9149, allocations: 0.7374 MB / 0.9658 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.519e-05/0.915, allocations: 24 kB / 0.9658 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.9151, allocations: 18.22 kB / 0.9658 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.9151, allocations: 0 / 0.9658 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.005559/0.9206, allocations: 1.836 MB / 0.9676 GB, free: 14.57 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