Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 255.9 MB / 271.2 MB, free: 8.887 MB / 218.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.0008827/0.0008827, allocations: 186.8 kB / 330.8 MB, free: 492 kB / 250.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.322/1.322, allocations: 225.7 MB / 0.6016 GB, free: 1.59 MB / 426.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.0007169/0.0007168, allocations: 91.61 kB / 0.709 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002985, allocations: 11.98 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 109.2 MB / 0.9328 GB, free: 6.281 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.001689/0.1545, allocations: 1.798 MB / 0.9345 GB, free: 4.469 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.1554, allocations: 0.6709 MB / 0.9352 GB, free: 3.793 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1555, allocations: 7.938 kB / 0.9352 GB, free: 3.785 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1557, allocations: 35.72 kB / 0.9352 GB, free: 3.75 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.1558, allocations: 27.8 kB / 0.9352 GB, free: 3.723 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.1559, allocations: 95.88 kB / 0.9353 GB, free: 3.629 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1562, allocations: 284.4 kB / 0.9356 GB, free: 3.352 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1564, allocations: 156.1 kB / 0.9357 GB, free: 3.195 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.1564, allocations: 63.53 kB / 0.9358 GB, free: 3.133 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.1565, allocations: 71.52 kB / 0.9359 GB, free: 3.062 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.1565, allocations: 4 kB / 0.9359 GB, free: 3.059 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.1566, allocations: 15.88 kB / 0.9359 GB, free: 3.043 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.1566, allocations: 27.84 kB / 0.9359 GB, free: 3.016 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.1567, allocations: 121 kB / 0.936 GB, free: 2.891 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1569, allocations: 358.9 kB / 0.9364 GB, free: 2.539 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1569, allocations: 4 kB / 0.9364 GB, free: 2.535 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1569, allocations: 7.984 kB / 0.9364 GB, free: 2.527 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1569, allocations: 0 / 0.9364 GB, free: 2.527 MB / 0.573 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.0006064/0.1575, allocations: 0.53 MB / 0.9369 GB, free: 1.949 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1576, allocations: 11.98 kB / 0.9369 GB, free: 1.938 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.1576, allocations: 28.56 kB / 0.9369 GB, free: 1.91 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1579, allocations: 292.1 kB / 0.9372 GB, free: 1.586 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1579, allocations: 12.81 kB / 0.9372 GB, free: 1.57 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.1579, allocations: 20.38 kB / 0.9373 GB, free: 1.551 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.1583, allocations: 262.8 kB / 0.9375 GB, free: 1.277 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1583, allocations: 0 / 0.9375 GB, free: 1.277 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1583, allocations: 8 kB / 0.9375 GB, free: 1.27 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1584, allocations: 4 kB / 0.9375 GB, free: 1.266 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.1588, allocations: 195.8 kB / 0.9377 GB, free: 1.074 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.1597, allocations: 1.046 MB / 0.9387 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.1602, allocations: 202.7 kB / 0.9389 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.1604, allocations: 104.8 kB / 0.939 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1605, allocations: 7.984 kB / 0.939 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1605, allocations: 34.56 kB / 0.9391 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.1605, allocations: 0 / 0.9391 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0005953/0.1611, allocations: 257.3 kB / 0.9393 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1612, allocations: 81.11 kB / 0.9394 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.1614, allocations: 258.6 kB / 0.9396 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1614, allocations: 29.64 kB / 0.9397 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1616, allocations: 167.9 kB / 0.9398 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1616, allocations: 39.45 kB / 0.9399 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.1616, allocations: 0 / 0.9399 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1617, allocations: 334.8 kB / 0.9402 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1619, allocations: 75.95 kB / 0.9403 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.1621, allocations: 120.1 kB / 0.9404 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.1625, allocations: 170.5 kB / 0.9405 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1625, allocations: 0 / 0.9405 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004436/0.163, allocations: 225.3 kB / 0.9407 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.163, allocations: 114.7 kB / 0.9409 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.163, allocations: 0 / 0.9409 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1631, allocations: 3.984 kB / 0.9409 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1632, allocations: 39.92 kB / 0.9409 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1632, allocations: 0 / 0.9409 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1634, allocations: 43.81 kB / 0.9409 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1634, allocations: 4 kB / 0.9409 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.1634, allocations: 4 kB / 0.9409 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003032/0.1637, allocations: 155.9 kB / 0.9411 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.1637, allocations: 0 / 0.9411 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-06/0.1637, allocations: 0 / 0.9411 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1639, allocations: 39.86 kB / 0.9411 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.1639, allocations: 3.938 kB / 0.9411 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.164, allocations: 31.83 kB / 0.9412 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.164, allocations: 4 kB / 0.9412 GB, free: 13.34 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * 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.0001359/0.1642, allocations: 218.3 kB / 0.9414 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1642, allocations: 19.72 kB / 0.9414 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.1643, allocations: 25.7 kB / 0.9414 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1643, allocations: 3.938 kB / 0.9414 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1643, allocations: 0 / 0.9414 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1643, allocations: 0 / 0.9414 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.1646, allocations: 317.3 kB / 0.9417 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1646, allocations: 0 / 0.9417 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.1647, allocations: 39.91 kB / 0.9418 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1648, allocations: 0 / 0.9418 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1648, allocations: 4 kB / 0.9418 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1648, allocations: 7.938 kB / 0.9418 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1648, allocations: 0 / 0.9418 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.1654, allocations: 375.2 kB / 0.9421 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.1655, allocations: 104.8 kB / 0.9422 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1655, allocations: 4 kB / 0.9422 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1657, allocations: 27.92 kB / 0.9423 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1657, allocations: 7.984 kB / 0.9423 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1657, allocations: 7.938 kB / 0.9423 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001637/0.1659, allocations: 186 kB / 0.9425 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1659, allocations: 8 kB / 0.9425 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003058/0.1662, allocations: 63.75 kB / 0.9425 GB, free: 11.86 MB / 0.5886 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.964e-05/0.1663, allocations: 115.2 kB / 0.9426 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.1669, allocations: 243.8 kB / 0.9429 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1669, allocations: 0 / 0.9429 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.1671, allocations: 76.22 kB / 0.9429 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1674, allocations: 52.45 kB / 0.943 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.1682, allocations: 0.5048 MB / 0.9435 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1684, allocations: 0.7442 MB / 0.9442 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.49e-05/0.1685, allocations: 25.88 kB / 0.9442 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.1686, allocations: 23.44 kB / 0.9443 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of SimCode: time 2.1e-07/0.1686, allocations: 0 / 0.9443 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.004595/0.1732, allocations: 2.09 MB / 0.9463 GB, free: 7.957 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)