Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.661/1.661, allocations: 291.7 MB / 306.8 MB, free: 7.68 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.0009983/0.0009984, allocations: 181.5 kB / 375.4 MB, free: 5.105 MB / 298.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.407/1.407, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008307/0.0008308, allocations: 95.3 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0007263/0.0007264, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.744, allocations: 118.1 MB / 1.011 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001876/0.7459, allocations: 1.451 MB / 1.012 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.7471, allocations: 0.8451 MB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.7471, allocations: 3.938 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004669/0.7476, allocations: 159.7 kB / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.7479, allocations: 134.7 kB / 1.013 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.7483, allocations: 171.1 kB / 1.014 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.7485, allocations: 204.6 kB / 1.014 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.7486, allocations: 48.05 kB / 1.014 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.7488, allocations: 81.75 kB / 1.014 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.749, allocations: 130.5 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.749, allocations: 5.625 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.7491, allocations: 29.23 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.7492, allocations: 77.02 kB / 1.014 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.7492, allocations: 64.02 kB / 1.014 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.7495, allocations: 292.9 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7495, allocations: 0 / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7495, allocations: 1.312 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.7495, allocations: 0 / 1.014 GB, free: 57.59 MB / 0.7136 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.0005982/0.7501, allocations: 0.5566 MB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.7501, allocations: 13.09 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.7502, allocations: 29.72 kB / 1.015 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.7506, allocations: 411.6 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.7506, allocations: 6.656 kB / 1.015 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.7507, allocations: 8.719 kB / 1.015 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.7508, allocations: 81.36 kB / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.7508, allocations: 0 / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.7509, allocations: 1.688 kB / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7509, allocations: 3.125 kB / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.751, allocations: 56.25 kB / 1.016 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.7515, allocations: 489.7 kB / 1.016 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.7516, allocations: 50.5 kB / 1.016 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.7517, allocations: 18.42 kB / 1.016 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.7517, allocations: 5.359 kB / 1.016 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.7517, allocations: 35.22 kB / 1.016 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7517, allocations: 5.062 kB / 1.016 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002498/0.752, allocations: 110.1 kB / 1.016 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.752, allocations: 53.84 kB / 1.016 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.7525, allocations: 0.5479 MB / 1.017 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.7525, allocations: 26.98 kB / 1.017 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.7527, allocations: 174.2 kB / 1.017 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.7527, allocations: 16.34 kB / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.7527, allocations: 0 / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.7528, allocations: 343.5 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.7528, allocations: 13.91 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.7529, allocations: 16.98 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/0.753, allocations: 43.77 kB / 1.017 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.753, allocations: 112 / 1.017 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001378/0.7531, allocations: 102.8 kB / 1.018 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7531, allocations: 5.406 kB / 1.018 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.7532, allocations: 0 / 1.018 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.7532, allocations: 3.938 kB / 1.018 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.7532, allocations: 13 kB / 1.018 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7533, allocations: 1.781 kB / 1.018 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.7533, allocations: 0 / 1.018 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.7533, allocations: 3.438 kB / 1.018 GB, free: 55.73 MB / 0.7136 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.0001106/0.7535, allocations: 181.5 kB / 1.018 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.7535, allocations: 29.11 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.7537, allocations: 105.8 kB / 1.018 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7537, allocations: 5.484 kB / 1.018 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7537, allocations: 0 / 1.018 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7537, allocations: 2.625 kB / 1.018 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.7539, allocations: 288.3 kB / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7539, allocations: 2.688 kB / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.754, allocations: 10.03 kB / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.754, allocations: 0.75 kB / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.754, allocations: 0 / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.754, allocations: 4.531 kB / 1.018 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.754, allocations: 2.406 kB / 1.018 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.7542, allocations: 187.8 kB / 1.018 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.7543, allocations: 121.4 kB / 1.019 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.7543, allocations: 0.9375 kB / 1.019 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.7544, allocations: 9.719 kB / 1.019 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.7544, allocations: 7.922 kB / 1.019 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.7544, allocations: 6.938 kB / 1.019 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003615/0.7548, allocations: 417.2 kB / 1.019 GB, free: 55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7548, allocations: 0 / 1.019 GB, free: 55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002319/0.755, allocations: 28.62 kB / 1.019 GB, free: 55 MB / 0.7136 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.0007313/0.7558, allocations: 409.1 kB / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.7559, allocations: 36.09 kB / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7559, allocations: 1.312 kB / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.756, allocations: 18.95 kB / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.7564, allocations: 46.61 kB / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.757, allocations: 0.5562 MB / 1.02 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.7572, allocations: 0.7863 MB / 1.021 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.814e-05/0.7573, allocations: 45.98 kB / 1.021 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.7574, allocations: 20.84 kB / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7574, allocations: 0 / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.004613/0.762, allocations: 2.293 MB / 1.023 GB, free: 53.72 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)