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.001974/0.001974, allocations: 101.7 kB / 16.27 MB, free: 6.414 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.002015/0.002015, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.461/1.461, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.69/2.69, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 60.11 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4115, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004616/0.4162, allocations: 2.041 MB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.4174, allocations: 446.6 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.4178, allocations: 4 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.418, allocations: 47.53 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.4182, allocations: 31.67 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.4186, allocations: 103.8 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.419, allocations: 280.5 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.4194, allocations: 164.5 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.4196, allocations: 103.6 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.4198, allocations: 99.48 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.4198, allocations: 36 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.4199, allocations: 32 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.42, allocations: 67.72 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4202, allocations: 127.3 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.4207, allocations: 375.1 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4207, allocations: 0 / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4207, allocations: 0 / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.4207, allocations: 0 / 1.022 GB, free: 6.699 MB / 0.795 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.001148/0.4219, allocations: 0.5457 MB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4219, allocations: 16.03 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.422, allocations: 28.64 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.4224, allocations: 261.5 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.4225, allocations: 16.81 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.4225, allocations: 20.31 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.4231, allocations: 234.3 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4231, allocations: 3.938 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.4231, allocations: 12 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.4231, allocations: 8 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.4236, allocations: 169 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.425, allocations: 0.8559 MB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.4256, allocations: 178.7 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.4258, allocations: 100.7 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4259, allocations: 0 / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.4259, allocations: 38.56 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.4259, allocations: 4 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0006735/0.4266, allocations: 221.7 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.4267, allocations: 77.11 kB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.427, allocations: 235.4 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.427, allocations: 25.7 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.4271, allocations: 171.9 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.4272, allocations: 39.45 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.4273, allocations: 37.62 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4274, allocations: 330.8 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.4276, allocations: 68.75 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.4279, allocations: 109.1 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.4283, allocations: 155.8 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4283, allocations: 0 / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004754/0.4288, allocations: 210.1 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4288, allocations: 4 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4288, allocations: 0 / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4288, allocations: 12.03 kB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.429, allocations: 39.91 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.429, allocations: 0 / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.4292, allocations: 27.83 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4292, allocations: 4 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002168/0.4294, allocations: 162.5 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001765/0.4296, allocations: 103.7 kB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002707/0.4299, allocations: 134.8 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.4299, allocations: 4.031 kB / 1.026 GB, free: 1.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003623/0.4303, allocations: 173.4 kB / 1.026 GB, free: 1.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.4303, allocations: 8 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.4303, allocations: 0 / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-06/0.4303, allocations: 0 / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4304, allocations: 39.86 kB / 1.027 GB, free: 1.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.4305, allocations: 4 kB / 1.027 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.4306, allocations: 23.98 kB / 1.027 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4306, allocations: 4 kB / 1.027 GB, free: 1.547 MB / 0.795 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.0001362/0.4307, allocations: 200.1 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.4308, allocations: 15.81 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.4309, allocations: 29.34 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4309, allocations: 0 / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4309, allocations: 0 / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4309, allocations: 3.984 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.4312, allocations: 297.5 kB / 1.027 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4313, allocations: 4 kB / 1.027 GB, free: 0.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4314, allocations: 27.97 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.4314, allocations: 4 kB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4315, allocations: 7.938 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4315, allocations: 0 / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4315, allocations: 0 / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.4322, allocations: 355.1 kB / 1.027 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.4323, allocations: 96.94 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.4323, allocations: 7.938 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4324, allocations: 15.98 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.4325, allocations: 7.984 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4325, allocations: 0 / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001834/0.4327, allocations: 180.5 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4327, allocations: 0 / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003509/0.433, allocations: 63.69 kB / 1.028 GB, free: 176 kB / 0.795 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.0001572/0.4332, allocations: 103.2 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006209/0.4338, allocations: 231.7 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4339, allocations: 0 / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.434, allocations: 67.95 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.4345, allocations: 36.58 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.4354, allocations: 427.3 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.4358, allocations: 0.7401 MB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.4359, allocations: 19.44 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.4359, allocations: 0 / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.005064/0.441, allocations: 2.558 MB / 1.032 GB, free: 11.95 MB / 0.8106 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/jenkins1/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