Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001555/0.001556, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001709/0.001709, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.522/1.522, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 68.61 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3779, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004399/0.3823, allocations: 2.093 MB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3835, allocations: 430.7 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.3838, allocations: 4 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.3841, allocations: 31.73 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.3843, allocations: 23.8 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3847, allocations: 87.95 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.3851, allocations: 284.5 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.3855, allocations: 152.5 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.3857, allocations: 103.6 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.3859, allocations: 107.4 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.386, allocations: 36 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.386, allocations: 36 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.3861, allocations: 59.78 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.3862, allocations: 123.4 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.3867, allocations: 311.6 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3867, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3867, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.3867, allocations: 7.938 kB / 1.068 GB, free: 11.24 MB / 0.8419 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.001162/0.3879, allocations: 0.5419 MB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3879, allocations: 8.625 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.388, allocations: 28.56 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.3885, allocations: 277.5 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3885, allocations: 12.81 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.3886, allocations: 20.38 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.3891, allocations: 230.3 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3891, allocations: 3.938 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.3892, allocations: 11.98 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.3892, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.3897, allocations: 169 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.3911, allocations: 0.8482 MB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.3916, allocations: 186.7 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3919, allocations: 88.81 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.3919, allocations: 11.97 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.392, allocations: 34.56 kB / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.392, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0006796/0.3927, allocations: 225.4 kB / 1.071 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.3927, allocations: 81.11 kB / 1.071 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.393, allocations: 239.2 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.3931, allocations: 33.7 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3932, allocations: 156 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.3933, allocations: 39.45 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.3933, allocations: 37.61 kB / 1.071 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3935, allocations: 330.8 kB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3937, allocations: 68.83 kB / 1.071 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3939, allocations: 109.1 kB / 1.072 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.3943, allocations: 158.7 kB / 1.072 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3943, allocations: 4 kB / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000493/0.3948, allocations: 201.3 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3949, allocations: 12.09 kB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3949, allocations: 0 / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3949, allocations: 3.938 kB / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3951, allocations: 35.97 kB / 1.072 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3951, allocations: 0 / 1.072 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.3952, allocations: 27.83 kB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3953, allocations: 12 kB / 1.072 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002207/0.3955, allocations: 156 kB / 1.072 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001716/0.3957, allocations: 107.2 kB / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000273/0.396, allocations: 131.4 kB / 1.072 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.028e-05/0.396, allocations: 4 kB / 1.072 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003647/0.3964, allocations: 181.3 kB / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3964, allocations: 7.984 kB / 1.073 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.3964, allocations: 3.938 kB / 1.073 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.3964, allocations: 4 kB / 1.073 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3965, allocations: 36.02 kB / 1.073 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3966, allocations: 3.938 kB / 1.073 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3967, allocations: 19.89 kB / 1.073 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3967, allocations: 8 kB / 1.073 GB, free: 6.09 MB / 0.8419 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.0001407/0.3968, allocations: 188.2 kB / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.3969, allocations: 15.81 kB / 1.073 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.397, allocations: 25.33 kB / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.397, allocations: 0 / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.397, allocations: 8 kB / 1.073 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.397, allocations: 0 / 1.073 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.3974, allocations: 301.4 kB / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3974, allocations: 4 kB / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3976, allocations: 35.91 kB / 1.073 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3976, allocations: 3.984 kB / 1.073 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3976, allocations: 3.938 kB / 1.073 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3976, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3976, allocations: 4 kB / 1.073 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.3983, allocations: 346.6 kB / 1.074 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.3984, allocations: 100.9 kB / 1.074 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3984, allocations: 7.938 kB / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3986, allocations: 11.98 kB / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.3986, allocations: 12.05 kB / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3986, allocations: 8 kB / 1.074 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002025/0.3989, allocations: 164.5 kB / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3989, allocations: 0 / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003811/0.3992, allocations: 71.69 kB / 1.074 GB, free: 4.723 MB / 0.8419 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.0001482/0.3994, allocations: 103.2 kB / 1.074 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006209/0.4, allocations: 227.8 kB / 1.074 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4002, allocations: 75.89 kB / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.4007, allocations: 47.02 kB / 1.074 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.4017, allocations: 490.9 kB / 1.075 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4021, allocations: 0.7363 MB / 1.076 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.4022, allocations: 23.42 kB / 1.076 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.4022, allocations: 0 / 1.076 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of Templates: time 0.005849/0.408, allocations: 2.573 MB / 1.078 GB, free: 408 kB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches