Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 292.6 MB / 307.8 MB, free: 7.145 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.0009333/0.0009333, allocations: 192.5 kB / 376.5 MB, free: 4.445 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.291/1.291, allocations: 225.7 MB / 0.655 GB, free: 13.13 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.0007367/0.0007368, allocations: 97.62 kB / 0.7711 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 12 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5164, allocations: 118.2 MB / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001843/0.5183, allocations: 1.444 MB / 1.014 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.5194, allocations: 0.8491 MB / 1.015 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.5195, allocations: 0 / 1.015 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.5199, allocations: 163.3 kB / 1.015 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.5202, allocations: 138.2 kB / 1.015 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.5206, allocations: 177.2 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.5208, allocations: 199.5 kB / 1.015 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.521, allocations: 53.73 kB / 1.015 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.5211, allocations: 81.84 kB / 1.015 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.5213, allocations: 131.5 kB / 1.016 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.5213, allocations: 5.406 kB / 1.016 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.22e-05/0.5214, allocations: 31.39 kB / 1.016 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.5214, allocations: 69.53 kB / 1.016 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.5215, allocations: 119.2 kB / 1.016 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.5218, allocations: 292.6 kB / 1.016 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5218, allocations: 0 / 1.016 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5218, allocations: 0 / 1.016 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.5218, allocations: 0 / 1.016 GB, free: 57.27 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.0005541/0.5223, allocations: 0.5546 MB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.5224, allocations: 10.78 kB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.5224, allocations: 28.66 kB / 1.017 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.5229, allocations: 418.8 kB / 1.017 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.5229, allocations: 8.125 kB / 1.017 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.5229, allocations: 8.25 kB / 1.017 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.523, allocations: 74.39 kB / 1.017 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5231, allocations: 3.062 kB / 1.017 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.5231, allocations: 3.938 kB / 1.017 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5231, allocations: 4.125 kB / 1.017 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.5232, allocations: 50.16 kB / 1.017 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.5237, allocations: 492 kB / 1.018 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.5238, allocations: 45.27 kB / 1.018 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.5239, allocations: 24 kB / 1.018 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.5239, allocations: 4.688 kB / 1.018 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.5239, allocations: 35.06 kB / 1.018 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.5239, allocations: 0 / 1.018 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002568/0.5242, allocations: 113.1 kB / 1.018 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.5242, allocations: 54.59 kB / 1.018 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.5248, allocations: 0.5495 MB / 1.018 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.5248, allocations: 31.36 kB / 1.018 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.5249, allocations: 171.6 kB / 1.019 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.5249, allocations: 7.281 kB / 1.019 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.5249, allocations: 3.812 kB / 1.019 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.525, allocations: 342.5 kB / 1.019 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.525, allocations: 17.05 kB / 1.019 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.5251, allocations: 13.12 kB / 1.019 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.5252, allocations: 42.55 kB / 1.019 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5252, allocations: 0.6875 kB / 1.019 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001424/0.5253, allocations: 96.23 kB / 1.019 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5254, allocations: 4.844 kB / 1.019 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.5254, allocations: 3.75 kB / 1.019 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5254, allocations: 4.562 kB / 1.019 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.5255, allocations: 10.91 kB / 1.019 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5255, allocations: 0 / 1.019 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.5255, allocations: 6.375 kB / 1.019 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.5256, allocations: 0 / 1.019 GB, free: 55.41 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.0001131/0.5257, allocations: 183.8 kB / 1.019 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.5257, allocations: 30.66 kB / 1.019 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.5259, allocations: 101.7 kB / 1.019 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5259, allocations: 6.312 kB / 1.019 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5259, allocations: 3.422 kB / 1.019 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.5259, allocations: 0 / 1.019 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.5262, allocations: 292.4 kB / 1.02 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5262, allocations: 2.422 kB / 1.02 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.5262, allocations: 12.44 kB / 1.02 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5262, allocations: 1.062 kB / 1.02 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.5262, allocations: 3.812 kB / 1.02 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5263, allocations: 3.938 kB / 1.02 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5263, allocations: 0 / 1.02 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.5264, allocations: 189 kB / 1.02 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.5265, allocations: 124.1 kB / 1.02 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.5265, allocations: 0.9375 kB / 1.02 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.5266, allocations: 6.562 kB / 1.02 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.5267, allocations: 8.031 kB / 1.02 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.5267, allocations: 0 / 1.02 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003548/0.527, allocations: 415.3 kB / 1.02 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5271, allocations: 0 / 1.02 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002436/0.5273, allocations: 32.92 kB / 1.021 GB, free: 54.68 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.000795/0.5281, allocations: 408.1 kB / 1.021 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.5283, allocations: 41.31 kB / 1.021 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5283, allocations: 0 / 1.021 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.5283, allocations: 16.47 kB / 1.021 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.5287, allocations: 49.5 kB / 1.021 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/0.5294, allocations: 0.5592 MB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.5297, allocations: 0.7864 MB / 1.022 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.5298, allocations: 49.58 kB / 1.022 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.5298, allocations: 22.22 kB / 1.022 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.5298, allocations: 0 / 1.022 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.004719/0.5346, allocations: 2.29 MB / 1.025 GB, free: 53.39 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)