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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.004/4.004, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.069e-05, allocations: 4 kB / 0.5325 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5726/0.5727, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2317/0.8044, allocations: 131.6 MB / 0.7574 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.8047, allocations: 79.89 kB / 0.7574 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02994/0.8347, allocations: 7.51 MB / 0.7648 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8348, allocations: 0 / 0.7648 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.389e-05/0.8348, allocations: 12.19 kB / 0.7648 GB, free: 4.379 MB / 0.6355 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.001315/0.8361, allocations: 0.6521 MB / 0.7654 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.8362, allocations: 8.031 kB / 0.7654 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.8363, allocations: 63.3 kB / 0.7655 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.8371, allocations: 392.3 kB / 0.7659 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.8372, allocations: 12 kB / 0.7659 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/0.8373, allocations: 24 kB / 0.7659 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006671/0.8379, allocations: 229.5 kB / 0.7661 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.8388, allocations: 341.7 kB / 0.7664 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.8388, allocations: 0 / 0.7664 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.8388, allocations: 0 / 0.7664 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.8389, allocations: 15.95 kB / 0.7665 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.8415, allocations: 1.299 MB / 0.7677 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008177/0.8423, allocations: 290.9 kB / 0.768 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.8426, allocations: 121.3 kB / 0.7681 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.8427, allocations: 4 kB / 0.7681 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.8431, allocations: 169.8 kB / 0.7683 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.574e-06/0.8431, allocations: 0 / 0.7683 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.0006961/0.8438, allocations: 259.1 kB / 0.7685 GB, free: 336 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.8439, allocations: 140.5 kB / 0.7687 GB, free: 164 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.8443, allocations: 278.3 kB / 0.7689 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.8444, allocations: 29.7 kB / 0.769 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.8446, allocations: 232.3 kB / 0.7692 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.8447, allocations: 98.56 kB / 0.7693 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.8448, allocations: 4 kB / 0.7693 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8449, allocations: 350.8 kB / 0.7696 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.8452, allocations: 88 kB / 0.7697 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.8455, allocations: 155.1 kB / 0.7698 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.8458, allocations: 97.61 kB / 0.7699 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8458, allocations: 0 / 0.7699 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007033/0.8465, allocations: 298.2 kB / 0.7702 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.8467, allocations: 454.3 kB / 0.7707 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8467, allocations: 0 / 0.7707 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.8468, allocations: 7.938 kB / 0.7707 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.8473, allocations: 67.91 kB / 0.7707 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.8473, allocations: 7.984 kB / 0.7707 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.8477, allocations: 31.83 kB / 0.7708 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.8478, allocations: 15.98 kB / 0.7708 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.8478, allocations: 4 kB / 0.7708 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005691/0.8484, allocations: 219.8 kB / 0.771 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8484, allocations: 4 kB / 0.771 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.8484, allocations: 0 / 0.771 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.8489, allocations: 63.84 kB / 0.7711 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8489, allocations: 7.953 kB / 0.7711 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.8492, allocations: 35.86 kB / 0.7711 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.8493, allocations: 12 kB / 0.7711 GB, free: 13.57 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.0001335/0.8494, allocations: 117.1 kB / 0.7712 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005845/0.85, allocations: 257.1 kB / 0.7715 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.8501, allocations: 39.47 kB / 0.7715 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.8502, allocations: 44.45 kB / 0.7715 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.8502, allocations: 4 kB / 0.7716 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8502, allocations: 0 / 0.7716 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.8503, allocations: 4 kB / 0.7716 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.8516, allocations: 0.7487 MB / 0.7723 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.8517, allocations: 3.984 kB / 0.7723 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.8521, allocations: 51.91 kB / 0.7723 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.8522, allocations: 7.953 kB / 0.7723 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.8522, allocations: 0 / 0.7723 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8522, allocations: 0 / 0.7723 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8522, allocations: 8 kB / 0.7724 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.8532, allocations: 487.1 kB / 0.7728 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.8534, allocations: 144.6 kB / 0.773 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.8535, allocations: 15.88 kB / 0.773 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.8538, allocations: 24.05 kB / 0.773 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.854, allocations: 31.89 kB / 0.773 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.854, allocations: 12 kB / 0.773 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002902/0.8543, allocations: 208.6 kB / 0.7732 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/0.8543, allocations: 0 / 0.7732 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006775/0.855, allocations: 147.4 kB / 0.7734 GB, free: 11.15 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.001269/0.8563, allocations: 1.025 MB / 0.7744 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009274/0.8572, allocations: 387.2 kB / 0.7747 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8572, allocations: 0 / 0.7747 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.8575, allocations: 119.9 kB / 0.7749 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.8582, allocations: 69.69 kB / 0.7749 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.8602, allocations: 0.6385 MB / 0.7755 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.8606, allocations: 0.8239 MB / 0.7764 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004444/0.8611, allocations: 71.22 kB / 0.7764 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.8614, allocations: 143.4 kB / 0.7766 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of SimCode: time 7.62e-07/0.8614, allocations: 0 / 0.7766 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05217/0.9136, allocations: 7.252 MB / 0.7836 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.9138, allocations: 155.8 kB / 0.7838 GB, free: 384 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.525/4.439, allocations: 0 / 0.7838 GB, free: 384 kB / 0.6511 GB