Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.767/1.767, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.000979/0.000979, allocations: 183.2 kB / 393.1 MB, free: 4.074 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.413/1.413, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007648/0.0007651, allocations: 91.92 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 12 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5117, allocations: 121.3 MB / 1.041 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001847/0.5136, allocations: 1.457 MB / 1.042 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.5148, allocations: 0.9357 MB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.5149, allocations: 6.812 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.5154, allocations: 168.2 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.5157, allocations: 149.9 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.5161, allocations: 187.6 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.5163, allocations: 229 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.5165, allocations: 52.34 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.5166, allocations: 77.89 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.5168, allocations: 126.5 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.5168, allocations: 5.688 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.5169, allocations: 36.36 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.517, allocations: 70.36 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.5171, allocations: 126.2 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.5174, allocations: 337.3 kB / 1.045 GB, free: 56.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5174, allocations: 2.156 kB / 1.045 GB, free: 56.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5174, allocations: 0 / 1.045 GB, free: 56.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.5174, allocations: 0 / 1.045 GB, free: 56.11 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.0005768/0.518, allocations: 0.5571 MB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.518, allocations: 9.438 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.5181, allocations: 31.62 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.5185, allocations: 419.4 kB / 1.046 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5185, allocations: 5.281 kB / 1.046 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.5185, allocations: 5.125 kB / 1.046 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.5187, allocations: 85.7 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5187, allocations: 1.406 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.5187, allocations: 0 / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.5187, allocations: 0 / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.5188, allocations: 55.11 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.5193, allocations: 487.8 kB / 1.046 GB, free: 54.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.5195, allocations: 47.27 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.5195, allocations: 28.83 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.5195, allocations: 0 / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.5196, allocations: 35.98 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.5196, allocations: 6.219 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000259/0.5198, allocations: 105.1 kB / 1.047 GB, free: 54.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.5199, allocations: 54.44 kB / 1.047 GB, free: 54.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.5204, allocations: 0.5581 MB / 1.047 GB, free: 54.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.5204, allocations: 26.83 kB / 1.047 GB, free: 54.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.5205, allocations: 168.6 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.5205, allocations: 15.09 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.5205, allocations: 2.812 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.5206, allocations: 341.2 kB / 1.048 GB, free: 53.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.5207, allocations: 20.77 kB / 1.048 GB, free: 53.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.5207, allocations: 12.55 kB / 1.048 GB, free: 53.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.5208, allocations: 39.62 kB / 1.048 GB, free: 53.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5208, allocations: 2.406 kB / 1.048 GB, free: 53.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000148/0.521, allocations: 93.84 kB / 1.048 GB, free: 53.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.521, allocations: 2.969 kB / 1.048 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.521, allocations: 0 / 1.048 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.521, allocations: 5.094 kB / 1.048 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.5211, allocations: 9.719 kB / 1.048 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5211, allocations: 9.125 kB / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.154e-05/0.5212, allocations: 3.125 kB / 1.048 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.5212, allocations: 7.562 kB / 1.048 GB, free: 53.79 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.0001107/0.5213, allocations: 178.7 kB / 1.048 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.5213, allocations: 30.12 kB / 1.048 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.5215, allocations: 109.7 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5216, allocations: 5.125 kB / 1.048 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5216, allocations: 0 / 1.048 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5216, allocations: 1.188 kB / 1.048 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.5218, allocations: 280.3 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5218, allocations: 0 / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.5219, allocations: 8.266 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5219, allocations: 2.266 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.5219, allocations: 0 / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5219, allocations: 5.562 kB / 1.048 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5219, allocations: 3.938 kB / 1.048 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.522, allocations: 191.1 kB / 1.049 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.5221, allocations: 123.9 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.5222, allocations: 3.188 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/0.5223, allocations: 5.594 kB / 1.049 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.5223, allocations: 3.984 kB / 1.049 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.5223, allocations: 7.422 kB / 1.049 GB, free: 53.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003442/0.5227, allocations: 415.1 kB / 1.049 GB, free: 52.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5227, allocations: 0 / 1.049 GB, free: 52.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000227/0.5229, allocations: 27.66 kB / 1.049 GB, free: 52.85 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.0007442/0.5236, allocations: 415.6 kB / 1.05 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.5238, allocations: 41.05 kB / 1.05 GB, free: 52.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5238, allocations: 3.938 kB / 1.05 GB, free: 52.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/0.5239, allocations: 18.09 kB / 1.05 GB, free: 52.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.5242, allocations: 36.75 kB / 1.05 GB, free: 52.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.5249, allocations: 0.5807 MB / 1.05 GB, free: 52.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.5251, allocations: 0.7898 MB / 1.051 GB, free: 51.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.897e-05/0.5252, allocations: 47.86 kB / 1.051 GB, free: 51.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.5252, allocations: 23.52 kB / 1.051 GB, free: 51.52 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/0.5253, allocations: 0 / 1.051 GB, free: 51.52 MB / 0.698 GB Notification: Performance of Templates: time 0.00504/0.5303, allocations: 2.333 MB / 1.053 GB, free: 51.31 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)