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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_10_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.001376/0.001376, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 64.06 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.5981, allocations: 151.6 MB / 1.017 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003345/0.6015, allocations: 2.044 MB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007624/0.6023, allocations: 458.6 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.6024, allocations: 4 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.6026, allocations: 43.53 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.6027, allocations: 31.67 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.6029, allocations: 103.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.6032, allocations: 284.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.6035, allocations: 161.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.874e-05/0.6036, allocations: 95.59 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.6037, allocations: 107.5 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.6037, allocations: 32 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.634e-05/0.6038, allocations: 32 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.6038, allocations: 67.72 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.6039, allocations: 119.4 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.6042, allocations: 372.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6043, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6043, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6043, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 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.0007856/0.6051, allocations: 0.5419 MB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.6051, allocations: 12.03 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.6052, allocations: 24.66 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.6055, allocations: 269.4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.6055, allocations: 16.75 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.6056, allocations: 24.38 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.606, allocations: 230.3 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.606, allocations: 3.938 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.606, allocations: 12 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.606, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.6065, allocations: 173 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.6075, allocations: 0.8559 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.608, allocations: 178.8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.6083, allocations: 100.9 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.6083, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6083, allocations: 38.56 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.6083, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006089/0.609, allocations: 229.3 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.609, allocations: 81.11 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.6092, allocations: 235.2 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.6093, allocations: 25.7 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.6094, allocations: 160.1 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.6094, allocations: 47.38 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.6095, allocations: 37.7 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6096, allocations: 326.8 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.6098, allocations: 72.66 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.61, allocations: 111 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.6104, allocations: 155.3 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.6104, allocations: 4 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004434/0.6108, allocations: 205.4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6109, allocations: 4 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.6109, allocations: 7.984 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6109, allocations: 3.938 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.6111, allocations: 40.02 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6111, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.6112, allocations: 27.81 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.6112, allocations: 8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001956/0.6114, allocations: 156.1 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000157/0.6116, allocations: 94.84 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002655/0.6119, allocations: 135.1 kB / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.6119, allocations: 0 / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003522/0.6122, allocations: 181.3 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-06/0.6123, allocations: 8 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6123, allocations: 4 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.6123, allocations: 4 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.6124, allocations: 35.84 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-06/0.6124, allocations: 4 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.6126, allocations: 23.92 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.6126, allocations: 8.094 kB / 1.026 GB, free: 9.52 MB / 0.7794 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.0001176/0.6127, allocations: 192.2 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.6127, allocations: 23.66 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.6128, allocations: 29.33 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6128, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6128, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6128, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.6131, allocations: 301.4 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6131, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.6133, allocations: 31.98 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6133, allocations: 0 / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.6133, allocations: 11.88 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6133, allocations: 0 / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6133, allocations: 3.984 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.614, allocations: 351 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.6141, allocations: 92.95 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.6141, allocations: 7.938 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.6142, allocations: 15.97 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.6143, allocations: 8 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.6143, allocations: 0 / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001467/0.6145, allocations: 176.5 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6145, allocations: 4.062 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003501/0.6148, allocations: 63.69 kB / 1.027 GB, free: 8.148 MB / 0.7794 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.0001071/0.6149, allocations: 103.2 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005753/0.6155, allocations: 228 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6155, allocations: 4.062 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.6157, allocations: 68.5 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.6162, allocations: 33.3 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.6169, allocations: 409.5 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.6172, allocations: 0.7401 MB / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.09e-05/0.6173, allocations: 17.55 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.6174, allocations: 19.42 kB / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6174, allocations: 0 / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of Templates: time 0.004962/0.6223, allocations: 2.004 MB / 1.031 GB, free: 4.504 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches