Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002385/0.002385, allocations: 104.1 kB / 18.18 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002576/0.002576, allocations: 184.5 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.5 MB / 0.731 GB, free: 14.12 MB / 0.5762 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 63.91 kB / 1.06 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3837, allocations: 160.7 MB / 1.217 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003848/0.3876, allocations: 2.064 MB / 1.219 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3886, allocations: 442.7 kB / 1.219 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3888, allocations: 4 kB / 1.219 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.389, allocations: 39.59 kB / 1.219 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.3891, allocations: 47.64 kB / 1.219 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.3894, allocations: 111.7 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.3898, allocations: 284.4 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.39, allocations: 112.5 kB / 1.22 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3902, allocations: 91.66 kB / 1.22 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.3903, allocations: 111.4 kB / 1.22 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.3904, allocations: 32 kB / 1.22 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.3904, allocations: 32 kB / 1.22 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.3905, allocations: 63.83 kB / 1.22 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.3906, allocations: 127.3 kB / 1.22 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.3911, allocations: 386.5 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3911, allocations: 0 / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3911, allocations: 0 / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3911, allocations: 0 / 1.22 GB, free: 11.59 MB / 0.9669 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.0009779/0.3921, allocations: 0.5494 MB / 1.221 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.3921, allocations: 16.03 kB / 1.221 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.3922, allocations: 24.8 kB / 1.221 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.3927, allocations: 273.5 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3927, allocations: 16.81 kB / 1.221 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.3927, allocations: 20.33 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.3932, allocations: 238.2 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3932, allocations: 7.938 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.3933, allocations: 8 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3933, allocations: 4 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.3937, allocations: 169 kB / 1.222 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.395, allocations: 0.8446 MB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.3955, allocations: 170.8 kB / 1.223 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.3957, allocations: 88.81 kB / 1.223 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3958, allocations: 4.219 kB / 1.223 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.3958, allocations: 42.42 kB / 1.223 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.3958, allocations: 0 / 1.223 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0006442/0.3964, allocations: 225.4 kB / 1.223 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.3965, allocations: 81.11 kB / 1.223 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.3968, allocations: 243.1 kB / 1.223 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.3968, allocations: 33.7 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.397, allocations: 152.3 kB / 1.223 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.397, allocations: 39.64 kB / 1.223 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.3971, allocations: 37.7 kB / 1.224 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3972, allocations: 330.8 kB / 1.224 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3974, allocations: 68.81 kB / 1.224 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.3976, allocations: 113 kB / 1.224 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.398, allocations: 159.3 kB / 1.224 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.398, allocations: 4 kB / 1.224 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004431/0.3984, allocations: 209.4 kB / 1.224 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3985, allocations: 9.875 kB / 1.224 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3985, allocations: 0 / 1.224 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3985, allocations: 3.938 kB / 1.224 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.3987, allocations: 39.91 kB / 1.224 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3987, allocations: 4 kB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3988, allocations: 31.97 kB / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3988, allocations: 8 kB / 1.224 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002154/0.399, allocations: 152.1 kB / 1.225 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001542/0.3992, allocations: 93.11 kB / 1.225 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002639/0.3995, allocations: 134.2 kB / 1.225 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.776e-06/0.3995, allocations: 4 kB / 1.225 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003426/0.3998, allocations: 173.5 kB / 1.225 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/0.3998, allocations: 8.094 kB / 1.225 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.3998, allocations: 0 / 1.225 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.3998, allocations: 7.984 kB / 1.225 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4, allocations: 39.86 kB / 1.225 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.4, allocations: 0 / 1.225 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.4001, allocations: 23.88 kB / 1.225 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4001, allocations: 8 kB / 1.225 GB, free: 6.426 MB / 0.9669 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.0001465/0.4002, allocations: 188.2 kB / 1.225 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.4003, allocations: 23.86 kB / 1.225 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.4003, allocations: 25.33 kB / 1.225 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.4003, allocations: 4 kB / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4004, allocations: 0 / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4004, allocations: 0 / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.4007, allocations: 301.4 kB / 1.226 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4007, allocations: 4 kB / 1.226 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.4009, allocations: 23.98 kB / 1.226 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4009, allocations: 0 / 1.226 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.4009, allocations: 11.92 kB / 1.226 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.4009, allocations: 8 kB / 1.226 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4009, allocations: 3.938 kB / 1.226 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.4016, allocations: 347.6 kB / 1.226 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.4016, allocations: 105 kB / 1.226 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.4017, allocations: 7.922 kB / 1.226 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4018, allocations: 15.98 kB / 1.226 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.4019, allocations: 4 kB / 1.226 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.4019, allocations: 11.92 kB / 1.226 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001778/0.4021, allocations: 168.5 kB / 1.226 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4021, allocations: 0 / 1.226 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000362/0.4024, allocations: 67.8 kB / 1.226 GB, free: 5.043 MB / 0.9669 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.0001407/0.4026, allocations: 107.2 kB / 1.226 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.4031, allocations: 207.8 kB / 1.227 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4031, allocations: 0 / 1.227 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.4033, allocations: 76.27 kB / 1.227 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.4037, allocations: 41.36 kB / 1.227 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/0.4046, allocations: 418.5 kB / 1.227 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.4049, allocations: 0.7363 MB / 1.228 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.405, allocations: 19.44 kB / 1.228 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.405, allocations: 0 / 1.228 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of Templates: time 0.005065/0.4101, allocations: 2.597 MB / 1.23 GB, free: 0.8086 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches