Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.0009667/0.0009668, allocations: 190.5 kB / 330.8 MB, free: 492 kB / 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 1.31/1.31, allocations: 225.7 MB / 0.6016 GB, free: 1.586 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.0007431/0.0007431, allocations: 97.44 kB / 0.709 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002981, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001532/0.1504, allocations: 1.454 MB / 0.9342 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.1514, allocations: 0.9336 MB / 0.9351 GB, free: 3.832 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.1515, allocations: 0 / 0.9351 GB, free: 3.832 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.1519, allocations: 175.6 kB / 0.9353 GB, free: 3.664 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1521, allocations: 142.7 kB / 0.9354 GB, free: 3.527 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1525, allocations: 195.7 kB / 0.9356 GB, free: 3.336 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.1527, allocations: 223.5 kB / 0.9358 GB, free: 3.117 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1528, allocations: 61.58 kB / 0.9359 GB, free: 3.055 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.1529, allocations: 71.69 kB / 0.9359 GB, free: 2.984 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.153, allocations: 131.6 kB / 0.9361 GB, free: 2.855 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1531, allocations: 15.88 kB / 0.9361 GB, free: 2.84 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.1531, allocations: 31.97 kB / 0.9361 GB, free: 2.809 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.1532, allocations: 71.75 kB / 0.9362 GB, free: 2.738 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.1533, allocations: 124.9 kB / 0.9363 GB, free: 2.609 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1535, allocations: 327 kB / 0.9366 GB, free: 2.289 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1535, allocations: 4 kB / 0.9366 GB, free: 2.285 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1535, allocations: 0 / 0.9366 GB, free: 2.285 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1535, allocations: 0 / 0.9366 GB, free: 2.285 MB / 0.573 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.0005199/0.1541, allocations: 0.5643 MB / 0.9372 GB, free: 1.672 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.1541, allocations: 15.97 kB / 0.9372 GB, free: 1.656 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1541, allocations: 32.47 kB / 0.9372 GB, free: 1.625 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1545, allocations: 410.4 kB / 0.9376 GB, free: 1.184 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1545, allocations: 384 / 0.9376 GB, free: 1.184 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1545, allocations: 8.125 kB / 0.9376 GB, free: 1.176 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1547, allocations: 77.67 kB / 0.9377 GB, free: 1.094 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1547, allocations: 0 / 0.9377 GB, free: 1.094 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1547, allocations: 7.938 kB / 0.9377 GB, free: 1.086 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1547, allocations: 4 kB / 0.9377 GB, free: 1.082 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1548, allocations: 47.97 kB / 0.9377 GB, free: 1.035 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1553, allocations: 496.3 kB / 0.9382 GB, free: 0.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1554, allocations: 50.55 kB / 0.9383 GB, free: 452 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.1554, allocations: 20.92 kB / 0.9383 GB, free: 428 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1555, allocations: 0 / 0.9383 GB, free: 428 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.1555, allocations: 34.56 kB / 0.9383 GB, free: 384 kB / 0.573 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1555, allocations: 4 kB / 0.9383 GB, free: 380 kB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.0002346/0.1557, allocations: 113.2 kB / 0.9384 GB, free: 260 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.1557, allocations: 51.41 kB / 0.9385 GB, free: 196 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.1563, allocations: 0.5562 MB / 0.939 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1563, allocations: 25.7 kB / 0.939 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1564, allocations: 164 kB / 0.9392 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1565, allocations: 23.83 kB / 0.9392 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.1565, allocations: 0 / 0.9392 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1566, allocations: 338.8 kB / 0.9395 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.1567, allocations: 19.98 kB / 0.9396 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.1567, allocations: 8 kB / 0.9396 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.1568, allocations: 44.83 kB / 0.9396 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1568, allocations: 0 / 0.9396 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001495/0.157, allocations: 93.25 kB / 0.9397 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.157, allocations: 11.89 kB / 0.9397 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.157, allocations: 0 / 0.9397 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.157, allocations: 3.938 kB / 0.9397 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.1571, allocations: 8 kB / 0.9397 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1571, allocations: 3.938 kB / 0.9397 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.1572, allocations: 8 kB / 0.9397 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1572, allocations: 3.984 kB / 0.9397 GB, free: 14.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.1573, allocations: 183 kB / 0.9399 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.1574, allocations: 27.62 kB / 0.9399 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.1576, allocations: 108.1 kB / 0.94 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1576, allocations: 4.312 kB / 0.94 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1576, allocations: 7.984 kB / 0.94 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1576, allocations: 0 / 0.94 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1579, allocations: 281.6 kB / 0.9403 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1579, allocations: 3.938 kB / 0.9403 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.1579, allocations: 7.984 kB / 0.9403 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1579, allocations: 3.984 kB / 0.9403 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1579, allocations: 8 kB / 0.9403 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.158, allocations: 3.938 kB / 0.9403 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.158, allocations: 0 / 0.9403 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.1581, allocations: 187.2 kB / 0.9405 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.1583, allocations: 124.7 kB / 0.9406 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1583, allocations: 3.938 kB / 0.9406 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.1584, allocations: 7.938 kB / 0.9407 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.1584, allocations: 7.984 kB / 0.9407 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1584, allocations: 0 / 0.9407 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003932/0.1588, allocations: 419.1 kB / 0.9411 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1588, allocations: 0 / 0.9411 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002138/0.159, allocations: 23.91 kB / 0.9411 GB, free: 13.37 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 (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.0007227/0.1598, allocations: 409.2 kB / 0.9415 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1599, allocations: 39.97 kB / 0.9415 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1599, allocations: 0 / 0.9415 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.993e-05/0.16, allocations: 19.92 kB / 0.9415 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1603, allocations: 41.72 kB / 0.9416 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.161, allocations: 0.586 MB / 0.9421 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1613, allocations: 0.7834 MB / 0.9429 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.1614, allocations: 47.09 kB / 0.943 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.1615, allocations: 19.44 kB / 0.943 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/0.1615, allocations: 0 / 0.943 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Templates: time 0.004794/0.1663, allocations: 2.335 MB / 0.9453 GB, free: 9.172 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)