Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.213/4.213, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.566e-05, allocations: 5.281 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 98.73 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/0.5072, allocations: 132.2 MB / 0.7638 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.5076, allocations: 79.95 kB / 0.7639 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03178/0.5394, allocations: 7.586 MB / 0.7713 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5394, allocations: 0 / 0.7713 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.5395, allocations: 12 kB / 0.7713 GB, free: 5.824 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001366/0.5409, allocations: 0.6445 MB / 0.7719 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5409, allocations: 8.031 kB / 0.772 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.5411, allocations: 78.52 kB / 0.772 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.5412, allocations: 59.3 kB / 0.7721 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.542, allocations: 392.3 kB / 0.7725 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.5421, allocations: 28.78 kB / 0.7725 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/0.5422, allocations: 36 kB / 0.7725 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.5432, allocations: 395.2 kB / 0.7729 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.5432, allocations: 4 kB / 0.7729 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.5433, allocations: 16 kB / 0.7729 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.5433, allocations: 8 kB / 0.7729 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.544, allocations: 255 kB / 0.7732 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.547, allocations: 1.374 MB / 0.7745 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/0.5479, allocations: 320.5 kB / 0.7748 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.5483, allocations: 124.8 kB / 0.7749 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.5483, allocations: 7.938 kB / 0.7749 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/0.5488, allocations: 178 kB / 0.7751 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.887e-06/0.5488, allocations: 0 / 0.7751 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0008098/0.5496, allocations: 282.7 kB / 0.7754 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.5497, allocations: 136.5 kB / 0.7755 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.5503, allocations: 307.6 kB / 0.7758 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.5503, allocations: 37.7 kB / 0.7758 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.5506, allocations: 232.1 kB / 0.7761 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.5508, allocations: 106.5 kB / 0.7762 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.5508, allocations: 8 kB / 0.7762 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.551, allocations: 354.7 kB / 0.7765 GB, free: 220 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.5513, allocations: 92 kB / 0.7766 GB, free: 128 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5606/1.112, allocations: 166.9 kB / 0.7768 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/1.113, allocations: 109.1 kB / 0.7769 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/1.113, allocations: 0 / 0.7769 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001424/1.114, allocations: 321.8 kB / 0.7772 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/1.114, allocations: 455.3 kB / 0.7776 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.114, allocations: 1.188 kB / 0.7776 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/1.114, allocations: 2.188 kB / 0.7776 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/1.115, allocations: 69.5 kB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/1.115, allocations: 4.75 kB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/1.116, allocations: 53.36 kB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/1.116, allocations: 10.66 kB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.116, allocations: 5.016 kB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/1.117, allocations: 257.1 kB / 0.778 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/1.117, allocations: 1.031 kB / 0.778 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.117, allocations: 3.469 kB / 0.778 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/1.118, allocations: 62.78 kB / 0.7781 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.118, allocations: 5.094 kB / 0.7781 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/1.118, allocations: 38.64 kB / 0.7781 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/1.119, allocations: 12.75 kB / 0.7781 GB, free: 136.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002154/1.119, allocations: 132 kB / 0.7782 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.119, allocations: 41.09 kB / 0.7783 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/1.119, allocations: 47.92 kB / 0.7783 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/1.119, allocations: 4.641 kB / 0.7783 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.119, allocations: 0 / 0.7783 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.119, allocations: 5.922 kB / 0.7783 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.122, allocations: 0.8274 MB / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/1.122, allocations: 0.9375 kB / 0.7791 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/1.122, allocations: 51.7 kB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/1.123, allocations: 1.766 kB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/1.123, allocations: 6.203 kB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.123, allocations: 8.828 kB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.123, allocations: 0 / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/1.125, allocations: 0.507 MB / 0.7797 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/1.125, allocations: 151.5 kB / 0.7798 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/1.126, allocations: 11.03 kB / 0.7799 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/1.127, allocations: 28.67 kB / 0.7799 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/1.127, allocations: 29.61 kB / 0.7799 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/1.127, allocations: 12.88 kB / 0.7799 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005314/1.128, allocations: 243.1 kB / 0.7802 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.128, allocations: 0 / 0.7802 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007932/1.128, allocations: 153.8 kB / 0.7803 GB, free: 135.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001372/1.13, allocations: 1.059 MB / 0.7813 GB, free: 135 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001268/1.131, allocations: 412.2 kB / 0.7817 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.131, allocations: 0.5625 kB / 0.7817 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004004/1.132, allocations: 135 kB / 0.7819 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/1.132, allocations: 83.03 kB / 0.7819 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/1.135, allocations: 0.6624 MB / 0.7826 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/1.135, allocations: 0.8234 MB / 0.7834 GB, free: 134 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000495/1.136, allocations: 68.77 kB / 0.7835 GB, free: 134 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/1.136, allocations: 139.7 kB / 0.7836 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.193e-06/1.136, allocations: 0 / 0.7836 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/1.173, allocations: 8.1 MB / 0.7915 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.173, allocations: 165.5 kB / 0.7917 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/4.025, allocations: 5.031 kB / 0.7917 GB, free: 133.2 MB / 0.6511 GB