Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.683/1.683, allocations: 306.1 MB / 321.4 MB, free: 10.68 MB / 250.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.0009709/0.0009709, allocations: 183 kB / 393.1 MB, free: 4.051 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.613/1.613, allocations: 225.7 MB / 0.6743 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008872/0.0008872, allocations: 96.77 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 12.73 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5613, allocations: 121.3 MB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001571/0.563, allocations: 1.204 MB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000319/0.5633, allocations: 191.8 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.5634, allocations: 0 / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.5634, allocations: 8.438 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.5635, allocations: 5.969 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.5637, allocations: 16.16 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.42e-05/0.5637, allocations: 45.75 kB / 1.042 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.5638, allocations: 6.406 kB / 1.042 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.5639, allocations: 17.8 kB / 1.042 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.5639, allocations: 22.25 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.564, allocations: 2.469 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.564, allocations: 19.42 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.5641, allocations: 15.92 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.5641, allocations: 45.06 kB / 1.042 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.5642, allocations: 53.55 kB / 1.042 GB, free: 57.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5643, allocations: 0 / 1.042 GB, free: 57.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5643, allocations: 0 / 1.042 GB, free: 57.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.5643, allocations: 0 / 1.042 GB, free: 57.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004443/0.5647, allocations: 381.4 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.5648, allocations: 9.094 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.5648, allocations: 14.08 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.793e-05/0.5649, allocations: 178.2 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.5649, allocations: 384 / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.5649, allocations: 1.875 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.5652, allocations: 87.12 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5652, allocations: 1.75 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5652, allocations: 6.375 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5653, allocations: 0 / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.5656, allocations: 97.2 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.5659, allocations: 280.4 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.5661, allocations: 86.38 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.5662, allocations: 52.5 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/0.5665, allocations: 112.2 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.5665, allocations: 34.31 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5665, allocations: 0 / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005367/0.567, allocations: 176.9 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.5671, allocations: 54.28 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.5671, allocations: 136.9 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-06/0.5672, allocations: 25.7 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.5672, allocations: 88.95 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.5672, allocations: 16.62 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.5672, allocations: 3.938 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.5673, allocations: 313.9 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5674, allocations: 53.59 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.5676, allocations: 42.84 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.5679, allocations: 105.4 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5679, allocations: 3.938 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003201/0.5682, allocations: 127 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5682, allocations: 8 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.5682, allocations: 6.312 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5682, allocations: 0 / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.5684, allocations: 27.33 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5684, allocations: 4.938 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.5685, allocations: 26.72 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5685, allocations: 0 / 1.045 GB, free: 55.38 MB / 0.698 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 6.393e-05/0.5686, allocations: 125 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.5686, allocations: 5.938 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.569, allocations: 136.9 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.569, allocations: 0 / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.569, allocations: 0 / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.569, allocations: 5.922 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.5692, allocations: 181.2 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5692, allocations: 0 / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.642e-05/0.5693, allocations: 20.72 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5693, allocations: 0.7969 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.5693, allocations: 3.938 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5693, allocations: 0 / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5693, allocations: 0 / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.5697, allocations: 237 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.5697, allocations: 84.73 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.5697, allocations: 2.297 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.5698, allocations: 20.59 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.5699, allocations: 2.766 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.5699, allocations: 1.781 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.738e-05/0.5699, allocations: 109.5 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.57, allocations: 0 / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001968/0.5702, allocations: 13.66 kB / 1.046 GB, free: 54.64 MB / 0.698 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.0001329/0.5703, allocations: 109.6 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.5706, allocations: 104.7 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5707, allocations: 3.938 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.5708, allocations: 56.55 kB / 1.046 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.571, allocations: 11.72 kB / 1.046 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.5714, allocations: 163.5 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.5715, allocations: 0.6905 MB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.5716, allocations: 5.266 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.5716, allocations: 12.14 kB / 1.047 GB, free: 53.67 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.5716, allocations: 0 / 1.047 GB, free: 53.67 MB / 0.698 GB Notification: Performance of Templates: time 0.0027/0.5743, allocations: 0.6601 MB / 1.048 GB, free: 53.59 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)