Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 292.6 MB / 307.9 MB, free: 7.129 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.000883/0.000883, allocations: 192.8 kB / 376.5 MB, free: 4.453 MB / 298.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.331/1.331, allocations: 225.7 MB / 0.655 GB, free: 13.15 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.0007529/0.0007529, allocations: 98.92 kB / 0.7711 GB, free: 50.47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 22.02 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5429, allocations: 118.2 MB / 1.012 GB, free: 58.24 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.001897/0.5448, allocations: 1.653 MB / 1.014 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006227/0.5455, allocations: 406 kB / 1.014 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.5456, allocations: 6.719 kB / 1.014 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.5457, allocations: 24.25 kB / 1.014 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.5458, allocations: 25.86 kB / 1.014 GB, free: 58.06 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.546, allocations: 56.47 kB / 1.015 GB, free: 58.06 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.5462, allocations: 256.2 kB / 1.015 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.5465, allocations: 140.2 kB / 1.015 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.5466, allocations: 59.75 kB / 1.015 GB, free: 57.99 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.558e-05/0.5467, allocations: 76.75 kB / 1.015 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.5467, allocations: 7.312 kB / 1.015 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.5467, allocations: 5.875 kB / 1.015 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.5468, allocations: 26.92 kB / 1.015 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.5468, allocations: 108.5 kB / 1.015 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.5472, allocations: 320.2 kB / 1.015 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5472, allocations: 1.062 kB / 1.015 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5472, allocations: 0 / 1.015 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5472, allocations: 0 / 1.015 GB, free: 57.88 MB / 0.7136 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.0008568/0.5481, allocations: 0.5184 MB / 1.016 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5481, allocations: 9.438 kB / 1.016 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.5482, allocations: 30.97 kB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.5486, allocations: 286.3 kB / 1.016 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.5486, allocations: 15.56 kB / 1.016 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.5487, allocations: 21.03 kB / 1.016 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.5492, allocations: 247.2 kB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5492, allocations: 4.938 kB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.5492, allocations: 8.688 kB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.5492, allocations: 5.25 kB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.5497, allocations: 193.7 kB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.5509, allocations: 0.8617 MB / 1.018 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.5514, allocations: 199 kB / 1.018 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.5517, allocations: 110.6 kB / 1.018 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.5517, allocations: 1.062 kB / 1.018 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.5518, allocations: 38.47 kB / 1.018 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.5518, allocations: 0 / 1.018 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.000658/0.5524, allocations: 247.1 kB / 1.018 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.5525, allocations: 86.02 kB / 1.018 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.5527, allocations: 242.6 kB / 1.018 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.5527, allocations: 25.7 kB / 1.019 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.5528, allocations: 166.6 kB / 1.019 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.5529, allocations: 36.56 kB / 1.019 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.5529, allocations: 4.438 kB / 1.019 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.553, allocations: 330.8 kB / 1.019 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.5532, allocations: 73.36 kB / 1.019 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.5534, allocations: 120.5 kB / 1.019 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.5537, allocations: 173.7 kB / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5537, allocations: 0 / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004309/0.5542, allocations: 228.6 kB / 1.02 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.5542, allocations: 118.6 kB / 1.02 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5542, allocations: 0 / 1.02 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5543, allocations: 3.094 kB / 1.02 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.5544, allocations: 45.42 kB / 1.02 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5545, allocations: 2.625 kB / 1.02 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.5546, allocations: 34.77 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.5546, allocations: 6.5 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.5546, allocations: 6.906 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002887/0.5549, allocations: 149.5 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.5549, allocations: 0 / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-06/0.5549, allocations: 2.844 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.5551, allocations: 32.59 kB / 1.02 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.5551, allocations: 6.203 kB / 1.02 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.5552, allocations: 35.5 kB / 1.02 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.5552, allocations: 6.406 kB / 1.02 GB, free: 55.64 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.5553, allocations: 213.5 kB / 1.02 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.5554, allocations: 20.34 kB / 1.02 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.314e-05/0.5554, allocations: 20.98 kB / 1.02 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5555, allocations: 6.906 kB / 1.02 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5555, allocations: 3.938 kB / 1.02 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5555, allocations: 1.688 kB / 1.02 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.5558, allocations: 305.4 kB / 1.021 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5558, allocations: 7.688 kB / 1.021 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.556, allocations: 33.09 kB / 1.021 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.556, allocations: 0 / 1.021 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.556, allocations: 6.594 kB / 1.021 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.556, allocations: 0 / 1.021 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.556, allocations: 3.938 kB / 1.021 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.5566, allocations: 374.3 kB / 1.021 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.5566, allocations: 99.92 kB / 1.021 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.5567, allocations: 10.44 kB / 1.021 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.5568, allocations: 16.34 kB / 1.021 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.5569, allocations: 21.86 kB / 1.021 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.5569, allocations: 0 / 1.021 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001292/0.557, allocations: 180.6 kB / 1.021 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.557, allocations: 0 / 1.021 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003035/0.5573, allocations: 67.19 kB / 1.021 GB, free: 54.86 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.5574, allocations: 106 kB / 1.021 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.558, allocations: 251.1 kB / 1.022 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.558, allocations: 0 / 1.022 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.5581, allocations: 78.69 kB / 1.022 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.5585, allocations: 41.16 kB / 1.022 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.5592, allocations: 477.1 kB / 1.022 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.5594, allocations: 0.7345 MB / 1.023 GB, free: 53.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.5595, allocations: 25.08 kB / 1.023 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.5595, allocations: 19.06 kB / 1.023 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.5595, allocations: 0 / 1.023 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.004425/0.564, allocations: 1.833 MB / 1.025 GB, free: 53.68 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)