Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 254.9 MB / 269.9 MB, free: 9.621 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.001396/0.001396, allocations: 188.6 kB / 329.5 MB, free: 1.141 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.418/2.418, allocations: 225.6 MB / 0.6001 GB, free: 492 kB / 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.000996/0.0009956, allocations: 104.4 kB / 0.7074 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007218/0.0007222, allocations: 11.56 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2052, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002261/0.2076, allocations: 1.45 MB / 0.9322 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2093, allocations: 0.8465 MB / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.2095, allocations: 7.938 kB / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.2101, allocations: 149.6 kB / 0.9332 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.2106, allocations: 144.8 kB / 0.9333 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.2113, allocations: 175.7 kB / 0.9335 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.2117, allocations: 199.5 kB / 0.9337 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2119, allocations: 53.77 kB / 0.9337 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.2121, allocations: 79.67 kB / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.2124, allocations: 135.5 kB / 0.9339 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.2124, allocations: 8 kB / 0.9339 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.2126, allocations: 23.98 kB / 0.9339 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2127, allocations: 71.75 kB / 0.934 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.2128, allocations: 61.58 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.2131, allocations: 291.5 kB / 0.9344 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2132, allocations: 0 / 0.9344 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2132, allocations: 0 / 0.9344 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.2132, allocations: 0 / 0.9344 GB, free: 21.16 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008805/0.2141, allocations: 0.5643 MB / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2141, allocations: 8.031 kB / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.2142, allocations: 32.56 kB / 0.9349 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/0.2149, allocations: 398.6 kB / 0.9353 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.2149, allocations: 4.375 kB / 0.9353 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.215, allocations: 11.92 kB / 0.9353 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.2152, allocations: 77.61 kB / 0.9354 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2152, allocations: 3.938 kB / 0.9354 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2152, allocations: 11.92 kB / 0.9354 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2153, allocations: 4 kB / 0.9354 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.2155, allocations: 47.97 kB / 0.9355 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007349/0.2162, allocations: 480.5 kB / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.2164, allocations: 50.55 kB / 0.936 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.2165, allocations: 24.92 kB / 0.936 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.2166, allocations: 0 / 0.936 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2166, allocations: 38.55 kB / 0.936 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.2166, allocations: 0 / 0.936 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004235/0.217, allocations: 109.2 kB / 0.9361 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2171, allocations: 51.41 kB / 0.9362 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.2179, allocations: 0.5563 MB / 0.9367 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.218, allocations: 25.7 kB / 0.9368 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2181, allocations: 175.9 kB / 0.9369 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2182, allocations: 7.906 kB / 0.9369 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.2182, allocations: 0 / 0.9369 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.2183, allocations: 346.8 kB / 0.9373 GB, free: 17.96 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.2184, allocations: 12 kB / 0.9373 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.2185, allocations: 16.09 kB / 0.9373 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/0.2186, allocations: 23.92 kB / 0.9373 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2186, allocations: 0 / 0.9373 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002885/0.2189, allocations: 93.23 kB / 0.9374 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2189, allocations: 8 kB / 0.9374 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2189, allocations: 0 / 0.9374 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.219, allocations: 3.938 kB / 0.9374 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2191, allocations: 12 kB / 0.9374 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2191, allocations: 0 / 0.9374 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.2192, allocations: 3.938 kB / 0.9374 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2192, allocations: 7.984 kB / 0.9374 GB, free: 17.78 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 0.0002108/0.2195, allocations: 178.3 kB / 0.9376 GB, free: 17.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.2195, allocations: 31.95 kB / 0.9376 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.2199, allocations: 112.1 kB / 0.9377 GB, free: 17.44 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2199, allocations: 7.984 kB / 0.9378 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2199, allocations: 0 / 0.9378 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2199, allocations: 0 / 0.9378 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.2202, allocations: 281.4 kB / 0.938 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2202, allocations: 0 / 0.938 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.2203, allocations: 15.98 kB / 0.938 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2204, allocations: 0 / 0.938 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2204, allocations: 7.938 kB / 0.938 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2204, allocations: 3.984 kB / 0.9381 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2204, allocations: 8 kB / 0.9381 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.2207, allocations: 187.1 kB / 0.9382 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2208, allocations: 112.8 kB / 0.9383 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.2208, allocations: 7.938 kB / 0.9384 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.221, allocations: 3.984 kB / 0.9384 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.2211, allocations: 12 kB / 0.9384 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2211, allocations: 0 / 0.9384 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000606/0.2217, allocations: 423 kB / 0.9388 GB, free: 16.31 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.31e-07/0.2217, allocations: 0 / 0.9388 GB, free: 16.31 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000435/0.2221, allocations: 27.91 kB / 0.9388 GB, free: 16.29 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.001054/0.2232, allocations: 416 kB / 0.9392 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.2235, allocations: 31.98 kB / 0.9392 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2235, allocations: 0 / 0.9392 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/0.2236, allocations: 19.98 kB / 0.9392 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.2243, allocations: 46.56 kB / 0.9393 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2254, allocations: 0.5549 MB / 0.9398 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2257, allocations: 0.7872 MB / 0.9406 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.2259, allocations: 46.91 kB / 0.9406 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.226, allocations: 23.42 kB / 0.9407 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of SimCode: time 1.703e-06/0.2261, allocations: 8 kB / 0.9407 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of Templates: time 0.008748/0.2348, allocations: 2.276 MB / 0.9429 GB, free: 12.15 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)