Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 297.4 MB / 312.6 MB, free: 2.918 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 196.6 kB / 382.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.7 MB / 0.6617 GB, free: 7.223 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 92.44 kB / 0.7789 GB, free: 46.72 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004955, allocations: 9.031 kB / 0.9058 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6216/0.6221, allocations: 119.2 MB / 1.022 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.00191/0.6241, allocations: 1.663 MB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.6248, allocations: 406.2 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.6249, allocations: 3.312 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.625, allocations: 30.12 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.16e-05/0.6251, allocations: 24.78 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.6253, allocations: 93.72 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.6256, allocations: 259.8 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.6258, allocations: 141.5 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.6259, allocations: 65.28 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.626, allocations: 77.17 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.626, allocations: 9.109 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.6261, allocations: 6.219 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.6261, allocations: 33.73 kB / 1.025 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.6262, allocations: 108.2 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.6265, allocations: 365.2 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6266, allocations: 1.062 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6266, allocations: 0.9062 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.6266, allocations: 0 / 1.025 GB, free: 56.13 MB / 0.698 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.0007083/0.6273, allocations: 0.5215 MB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.6273, allocations: 11.56 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.6274, allocations: 26.67 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.6277, allocations: 284.3 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.6277, allocations: 17.92 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.6278, allocations: 17 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.6282, allocations: 250 kB / 1.027 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6283, allocations: 3.938 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.6283, allocations: 5.75 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.6283, allocations: 8.234 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.6288, allocations: 192.6 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.6298, allocations: 0.8676 MB / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.6303, allocations: 201.8 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.6305, allocations: 102.5 kB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6305, allocations: 5.906 kB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.6306, allocations: 34.56 kB / 1.028 GB, free: 54.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.6306, allocations: 0 / 1.028 GB, free: 54.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0005849/0.6312, allocations: 261.8 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6312, allocations: 81.11 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.6314, allocations: 239.1 kB / 1.028 GB, free: 54.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.6315, allocations: 31.05 kB / 1.029 GB, free: 54.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.6315, allocations: 159.9 kB / 1.029 GB, free: 53.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.6316, allocations: 33.44 kB / 1.029 GB, free: 53.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.6316, allocations: 6.344 kB / 1.029 GB, free: 53.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.6316, allocations: 329.5 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.6318, allocations: 78.14 kB / 1.029 GB, free: 53.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.632, allocations: 123.7 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.6324, allocations: 174.5 kB / 1.029 GB, free: 53.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6324, allocations: 5.188 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004257/0.6328, allocations: 222.5 kB / 1.03 GB, free: 53.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.6329, allocations: 123.3 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6329, allocations: 2.906 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6329, allocations: 0.75 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.6331, allocations: 38.56 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.6331, allocations: 2.406 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.6332, allocations: 40.95 kB / 1.03 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.6332, allocations: 3.844 kB / 1.03 GB, free: 53.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-06/0.6332, allocations: 4.625 kB / 1.03 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002756/0.6335, allocations: 152.1 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/0.6335, allocations: 0 / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-06/0.6335, allocations: 3 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.6337, allocations: 33 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.6337, allocations: 2.438 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.6338, allocations: 30.78 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.6338, allocations: 16.59 kB / 1.03 GB, free: 53.06 MB / 0.698 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.0001232/0.6339, allocations: 213.3 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.634, allocations: 23.62 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.634, allocations: 25.95 kB / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6341, allocations: 1.188 kB / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6341, allocations: 3.938 kB / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6341, allocations: 1.828 kB / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.6343, allocations: 301 kB / 1.031 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6344, allocations: 3.938 kB / 1.031 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.6345, allocations: 40.52 kB / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6345, allocations: 1.844 kB / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.6346, allocations: 4 kB / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6346, allocations: 1.156 kB / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6346, allocations: 7.547 kB / 1.031 GB, free: 52.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.6352, allocations: 377.7 kB / 1.031 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.6352, allocations: 98.34 kB / 1.031 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.6352, allocations: 3.844 kB / 1.031 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.6354, allocations: 20.59 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.6354, allocations: 14 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.6354, allocations: 4.062 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001376/0.6356, allocations: 176.1 kB / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6356, allocations: 1.812 kB / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003223/0.6359, allocations: 69.78 kB / 1.031 GB, free: 52.09 MB / 0.698 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 9.774e-05/0.636, allocations: 113.9 kB / 1.031 GB, free: 52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.6366, allocations: 244.1 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6366, allocations: 5.875 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.6368, allocations: 72.62 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.6372, allocations: 40.2 kB / 1.032 GB, free: 51.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.6378, allocations: 498.8 kB / 1.032 GB, free: 51.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.638, allocations: 0.7417 MB / 1.033 GB, free: 50.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.505e-05/0.6381, allocations: 23.42 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.6381, allocations: 17.31 kB / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.6381, allocations: 0 / 1.033 GB, free: 50.84 MB / 0.698 GB Notification: Performance of Templates: time 0.004295/0.6424, allocations: 1.865 MB / 1.035 GB, free: 50.73 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)