Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.567/2.567, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001821/0.00182, allocations: 185.5 kB / 329.5 MB, free: 1.16 MB / 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 2.347/2.347, allocations: 225.6 MB / 0.6002 GB, free: 2.23 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.001028/0.001028, allocations: 98.55 kB / 0.7074 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006447, allocations: 15.97 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2096, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002667/0.2123, allocations: 1.185 MB / 0.9319 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.2127, allocations: 116.6 kB / 0.932 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.2128, allocations: 0 / 0.932 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.2128, allocations: 7.875 kB / 0.932 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.2129, allocations: 11.94 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.2131, allocations: 19.97 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.2132, allocations: 31.86 kB / 0.9321 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.2133, allocations: 12 kB / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.2134, allocations: 15.92 kB / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.2134, allocations: 23.91 kB / 0.9321 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2134, allocations: 0 / 0.9321 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.2135, allocations: 19.98 kB / 0.9322 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.2136, allocations: 11.97 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.2136, allocations: 37.64 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.386e-05/0.2137, allocations: 35.94 kB / 0.9322 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2137, allocations: 0 / 0.9322 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.544e-06/0.2137, allocations: 4 kB / 0.9323 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2137, allocations: 0 / 0.9323 GB, free: 23.56 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.0005536/0.2143, allocations: 379.5 kB / 0.9326 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2144, allocations: 8.031 kB / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.2144, allocations: 8.844 kB / 0.9326 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.2145, allocations: 172.3 kB / 0.9328 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2145, allocations: 4.375 kB / 0.9328 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.2146, allocations: 384 / 0.9328 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.2149, allocations: 90.16 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.215, allocations: 192 / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.215, allocations: 7.938 kB / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.215, allocations: 0 / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005427/0.2155, allocations: 99.91 kB / 0.933 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.2159, allocations: 284.9 kB / 0.9333 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.2163, allocations: 82.47 kB / 0.9333 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.2165, allocations: 64.83 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.2168, allocations: 105.1 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2169, allocations: 30.56 kB / 0.9335 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.2169, allocations: 0 / 0.9335 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0009086/0.2178, allocations: 185.5 kB / 0.9337 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2178, allocations: 51.41 kB / 0.9338 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.218, allocations: 129.8 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.218, allocations: 25.7 kB / 0.9339 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.218, allocations: 92.08 kB / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.2181, allocations: 11.89 kB / 0.934 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.2181, allocations: 0 / 0.934 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.2182, allocations: 318.8 kB / 0.9343 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.2184, allocations: 51.89 kB / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.2187, allocations: 47.97 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.219, allocations: 47.95 kB / 0.9344 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.219, allocations: 3.938 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006013/0.2196, allocations: 137.5 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2196, allocations: 4 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2196, allocations: 4 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2197, allocations: 0 / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.2199, allocations: 19.98 kB / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2199, allocations: 0 / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.22, allocations: 15.98 kB / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2201, allocations: 4 kB / 0.9346 GB, free: 20.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.137e-05/0.2202, allocations: 125.7 kB / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.2202, allocations: 7.906 kB / 0.9348 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.2209, allocations: 137.5 kB / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2209, allocations: 0 / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2209, allocations: 0 / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2209, allocations: 0 / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.2211, allocations: 181.6 kB / 0.9351 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2211, allocations: 4 kB / 0.9351 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.2213, allocations: 31.97 kB / 0.9351 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2213, allocations: 0 / 0.9351 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2214, allocations: 0 / 0.9351 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2214, allocations: 0 / 0.9351 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2214, allocations: 0 / 0.9351 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.222, allocations: 235.2 kB / 0.9353 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.222, allocations: 81.11 kB / 0.9354 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.222, allocations: 4 kB / 0.9354 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2222, allocations: 19.92 kB / 0.9354 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2223, allocations: 4.406 kB / 0.9354 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2223, allocations: 7.938 kB / 0.9354 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.2224, allocations: 99.77 kB / 0.9355 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2224, allocations: 0 / 0.9355 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002895/0.2227, allocations: 11.91 kB / 0.9355 GB, free: 19.85 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 (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.000148/0.2228, allocations: 109.1 kB / 0.9356 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006235/0.2235, allocations: 111.8 kB / 0.9357 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2235, allocations: 0 / 0.9357 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.2238, allocations: 47.97 kB / 0.9358 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.2241, allocations: 15.92 kB / 0.9358 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.2245, allocations: 164.6 kB / 0.936 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.2247, allocations: 0.6848 MB / 0.9366 GB, free: 18.67 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.868e-05/0.2247, allocations: 11.98 kB / 0.9366 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.2248, allocations: 11.42 kB / 0.9367 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.2248, allocations: 0 / 0.9367 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of Templates: time 0.003483/0.2283, allocations: 0.6426 MB / 0.9373 GB, free: 18 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)