Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 297.4 MB / 312.6 MB, free: 2.949 MB / 234.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.001427/0.001427, allocations: 170.1 kB / 382.3 MB, free: 14.85 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.328/1.328, allocations: 225.7 MB / 0.6617 GB, free: 7.285 MB / 490.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.0007515/0.0007516, allocations: 99.69 kB / 0.7789 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 8 kB / 0.9058 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5536, allocations: 119.2 MB / 1.022 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002342/0.556, allocations: 1.458 MB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.5575, allocations: 0.9425 MB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.5576, allocations: 1.344 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.5582, allocations: 168.7 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.5587, allocations: 157.4 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.5592, allocations: 193.9 kB / 1.025 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.5595, allocations: 223.5 kB / 1.025 GB, free: 55.72 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.5597, allocations: 47.66 kB / 1.025 GB, free: 55.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.5599, allocations: 81.02 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.5602, allocations: 131.7 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.5603, allocations: 5.906 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.5604, allocations: 32.55 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.5605, allocations: 75.89 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.5606, allocations: 123.8 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.561, allocations: 335.5 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.561, allocations: 1.125 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.561, allocations: 0.8906 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.561, allocations: 0 / 1.026 GB, free: 55.4 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007603/0.5618, allocations: 0.5591 MB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5618, allocations: 7.875 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.5619, allocations: 30.62 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.5624, allocations: 417.5 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5624, allocations: 1.688 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.5625, allocations: 12.88 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.5626, allocations: 72.08 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.5627, allocations: 6.391 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5627, allocations: 4 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5627, allocations: 3.375 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.5628, allocations: 53.89 kB / 1.027 GB, free: 54.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.5634, allocations: 487.6 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.5635, allocations: 50.38 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.5636, allocations: 22.42 kB / 1.028 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5636, allocations: 5.828 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.5636, allocations: 36.06 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5636, allocations: 3.938 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002771/0.5639, allocations: 107.4 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.5639, allocations: 56.78 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.5646, allocations: 0.5534 MB / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.5646, allocations: 25.7 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5647, allocations: 177.1 kB / 1.029 GB, free: 53.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.5648, allocations: 10.66 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.5648, allocations: 0 / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.5649, allocations: 341.2 kB / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.5649, allocations: 14.98 kB / 1.029 GB, free: 53.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.565, allocations: 18.62 kB / 1.029 GB, free: 53.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.5651, allocations: 35.7 kB / 1.029 GB, free: 53.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5651, allocations: 0 / 1.029 GB, free: 53.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001791/0.5653, allocations: 92.19 kB / 1.029 GB, free: 53.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5653, allocations: 6.188 kB / 1.029 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5653, allocations: 3.938 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5653, allocations: 3.938 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.5654, allocations: 9.969 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5655, allocations: 0 / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.5655, allocations: 12.45 kB / 1.029 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5656, allocations: 7.594 kB / 1.029 GB, free: 53.08 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 0.000142/0.5657, allocations: 178.6 kB / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.5658, allocations: 23.11 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.566, allocations: 108.3 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.566, allocations: 6.281 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.566, allocations: 5.312 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.566, allocations: 0 / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.5662, allocations: 283 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5662, allocations: 1.266 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.5663, allocations: 12 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5663, allocations: 3.109 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5663, allocations: 1.938 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5663, allocations: 3.938 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5663, allocations: 0 / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.5665, allocations: 190 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.5666, allocations: 123.9 kB / 1.03 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.5666, allocations: 4 kB / 1.03 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.5667, allocations: 12.45 kB / 1.03 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.5668, allocations: 0 / 1.03 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.5668, allocations: 4.688 kB / 1.03 GB, free: 52.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004439/0.5672, allocations: 419.1 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5672, allocations: 0 / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002512/0.5675, allocations: 25.16 kB / 1.031 GB, free: 52.14 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.0007838/0.5683, allocations: 414.7 kB / 1.031 GB, free: 51.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.5684, allocations: 39.88 kB / 1.031 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5685, allocations: 1.125 kB / 1.031 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.5685, allocations: 21.75 kB / 1.031 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.5689, allocations: 34.77 kB / 1.031 GB, free: 51.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.5697, allocations: 0.5831 MB / 1.032 GB, free: 51.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.5699, allocations: 0.7836 MB / 1.032 GB, free: 50.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.57, allocations: 48.09 kB / 1.032 GB, free: 50.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.5701, allocations: 22.11 kB / 1.032 GB, free: 50.83 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.5701, allocations: 0 / 1.032 GB, free: 50.83 MB / 0.698 GB Notification: Performance of Templates: time 0.005508/0.5756, allocations: 2.322 MB / 1.035 GB, free: 50.64 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)