Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") 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.236/1.236, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.0009429/0.0009429, allocations: 188.8 kB / 330.8 MB, free: 484 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.353/1.353, allocations: 225.7 MB / 0.6016 GB, free: 15.95 MB / 442.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.0007509/0.0007508, allocations: 101.4 kB / 0.709 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 13.22 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 109.2 MB / 0.9327 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001269/0.1646, allocations: 1.197 MB / 0.9339 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002808/0.1649, allocations: 193.7 kB / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.1649, allocations: 0 / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.165, allocations: 0 / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.165, allocations: 15.91 kB / 0.9341 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.1652, allocations: 19.98 kB / 0.9341 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.039e-05/0.1653, allocations: 43.73 kB / 0.9342 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.1653, allocations: 11.98 kB / 0.9342 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.1654, allocations: 15.94 kB / 0.9342 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.1654, allocations: 19.91 kB / 0.9342 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1655, allocations: 4 kB / 0.9342 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.1655, allocations: 15.98 kB / 0.9342 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.1656, allocations: 15.91 kB / 0.9343 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1656, allocations: 41.58 kB / 0.9343 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.1657, allocations: 55.86 kB / 0.9344 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1657, allocations: 0 / 0.9344 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1657, allocations: 0 / 0.9344 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.1657, allocations: 0 / 0.9344 GB, free: 22.44 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003958/0.1661, allocations: 387.5 kB / 0.9347 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1662, allocations: 11.98 kB / 0.9347 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.1662, allocations: 8.875 kB / 0.9347 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.341e-05/0.1663, allocations: 176.2 kB / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1663, allocations: 4.375 kB / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1663, allocations: 4.375 kB / 0.9349 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.1666, allocations: 86.2 kB / 0.935 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1666, allocations: 4.172 kB / 0.935 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1666, allocations: 7.938 kB / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1666, allocations: 0 / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.1669, allocations: 91.92 kB / 0.9351 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.1671, allocations: 292.8 kB / 0.9354 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1673, allocations: 78.47 kB / 0.9355 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1675, allocations: 52.92 kB / 0.9355 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.1676, allocations: 109.1 kB / 0.9356 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.1677, allocations: 34.56 kB / 0.9356 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1677, allocations: 0 / 0.9356 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004793/0.1682, allocations: 185.4 kB / 0.9358 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.1682, allocations: 55.41 kB / 0.9359 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.1683, allocations: 121.8 kB / 0.936 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.1683, allocations: 25.7 kB / 0.936 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.1683, allocations: 100.1 kB / 0.9361 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.1683, allocations: 3.906 kB / 0.9361 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1683, allocations: 4 kB / 0.9361 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.1684, allocations: 314.8 kB / 0.9364 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1685, allocations: 51.95 kB / 0.9365 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1686, allocations: 51.95 kB / 0.9365 GB, free: 20 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.1689, allocations: 100.8 kB / 0.9366 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1689, allocations: 3.938 kB / 0.9366 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002762/0.1692, allocations: 133.5 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1692, allocations: 7.938 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1692, allocations: 3.984 kB / 0.9368 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1692, allocations: 4 kB / 0.9368 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1693, allocations: 15.98 kB / 0.9368 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1693, allocations: 4 kB / 0.9368 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.1694, allocations: 15.98 kB / 0.9368 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1694, allocations: 4 kB / 0.9368 GB, free: 19.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.223e-05/0.1695, allocations: 122.4 kB / 0.9369 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1695, allocations: 7.844 kB / 0.9369 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.1698, allocations: 145.5 kB / 0.9371 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1698, allocations: 4 kB / 0.9371 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1699, allocations: 0 / 0.9371 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1699, allocations: 4.375 kB / 0.9371 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.17, allocations: 177.6 kB / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.17, allocations: 0 / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.1701, allocations: 23.97 kB / 0.9373 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1701, allocations: 0 / 0.9373 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1701, allocations: 0 / 0.9373 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1701, allocations: 0 / 0.9373 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1701, allocations: 11.98 kB / 0.9373 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1704, allocations: 227.4 kB / 0.9375 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.1704, allocations: 81.02 kB / 0.9376 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1705, allocations: 0 / 0.9376 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.1706, allocations: 19.92 kB / 0.9376 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.1706, allocations: 11.98 kB / 0.9376 GB, free: 18.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1706, allocations: 4 kB / 0.9376 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.1706, allocations: 95.27 kB / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.1707, allocations: 0 / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000187/0.1708, allocations: 16 kB / 0.9377 GB, free: 18.66 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 3 * 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.0001061/0.171, allocations: 107.2 kB / 0.9378 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.1713, allocations: 99.91 kB / 0.9379 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1713, allocations: 0 / 0.9379 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1714, allocations: 51.97 kB / 0.938 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.1716, allocations: 23.77 kB / 0.938 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.1719, allocations: 168.5 kB / 0.9381 GB, free: 18.19 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.172, allocations: 0.6887 MB / 0.9388 GB, free: 17.47 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.172, allocations: 0 / 0.9388 GB, free: 17.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.172, allocations: 11.44 kB / 0.9388 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of SimCode: time 2.11e-07/0.172, allocations: 3.938 kB / 0.9388 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of Templates: time 0.002128/0.1742, allocations: 0.6511 MB / 0.9395 GB, free: 16.81 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)