Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01755/0.01756, allocations: 222.4 kB / 15.17 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001815/0.001814, allocations: 178.9 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.686/3.686, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.346/4.346, allocations: 472.3 MB / 0.9018 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004995, allocations: 12 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5755/0.576, allocations: 98.72 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002051/0.5781, allocations: 1.421 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.5796, allocations: 0.7865 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.642e-05/0.5797, allocations: 3.656 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.5802, allocations: 154 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.5806, allocations: 125.8 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.5809, allocations: 68.61 kB / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.5811, allocations: 185.7 kB / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.5813, allocations: 49.11 kB / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.5815, allocations: 65.48 kB / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.5817, allocations: 133.8 kB / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.5817, allocations: 5.594 kB / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.5819, allocations: 41.81 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.582, allocations: 65.64 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.582, allocations: 61.61 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.5824, allocations: 279 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.951e-06/0.5824, allocations: 0 / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.908e-06/0.5824, allocations: 0 / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.5824, allocations: 7.281 kB / 1.107 GB, free: 211.2 MB / 0.7292 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.0007259/0.5832, allocations: 0.5999 MB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5832, allocations: 8.375 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.5833, allocations: 32.83 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.5839, allocations: 378 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5839, allocations: 6.719 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.5839, allocations: 7.406 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.5842, allocations: 83.09 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5842, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.5842, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-06/0.5842, allocations: 5.219 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.5844, allocations: 57.23 kB / 1.109 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.5851, allocations: 485.2 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.5853, allocations: 58.33 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.5854, allocations: 25.48 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5854, allocations: 1 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.5854, allocations: 31.44 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.047e-06/0.5855, allocations: 0 / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003689/0.5858, allocations: 115.6 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.5859, allocations: 52.72 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.5866, allocations: 0.5346 MB / 1.11 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.5867, allocations: 29.7 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.5868, allocations: 161.2 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.5868, allocations: 16.55 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/0.5869, allocations: 6.938 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.587, allocations: 340.5 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.587, allocations: 17.44 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.5871, allocations: 18.66 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.5872, allocations: 77.39 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.455e-06/0.5873, allocations: 0.9375 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000292/0.5876, allocations: 159.5 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.5876, allocations: 60.41 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.919e-06/0.5876, allocations: 0 / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.5877, allocations: 7.062 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5878, allocations: 6.969 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.5878, allocations: 0.8906 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.5879, allocations: 9.188 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.5879, allocations: 1.531 kB / 1.111 GB, free: 208.7 MB / 0.7292 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0002045/0.5882, allocations: 185.9 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.5882, allocations: 35.36 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.5886, allocations: 108.8 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-06/0.5886, allocations: 5.391 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.686e-06/0.5886, allocations: 1.125 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-06/0.5886, allocations: 0 / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.589, allocations: 278.8 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-06/0.589, allocations: 0 / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.5891, allocations: 9.828 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.214e-06/0.5891, allocations: 3.953 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.5891, allocations: 1 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5891, allocations: 4.219 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-06/0.5891, allocations: 0 / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.5894, allocations: 188.8 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.5895, allocations: 115.6 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.5896, allocations: 7.703 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.5897, allocations: 3.469 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.5897, allocations: 7.266 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.5898, allocations: 0.7812 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005518/0.5903, allocations: 407 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.01e-07/0.5903, allocations: 0 / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003803/0.5907, allocations: 33.56 kB / 1.112 GB, free: 207.8 MB / 0.7292 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.000962/0.5917, allocations: 297.3 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.592, allocations: 155.9 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.151e-06/0.592, allocations: 0 / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.5921, allocations: 26.38 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.5926, allocations: 31.11 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009589/0.5936, allocations: 0.5323 MB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5939, allocations: 0.793 MB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.5941, allocations: 39.97 kB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.5942, allocations: 24.59 kB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.434e-06/0.5942, allocations: 0 / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.007726/0.6019, allocations: 2.095 MB / 1.116 GB, free: 206.5 MB / 0.7292 GB