Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.857/1.857, allocations: 306.1 MB / 321.4 MB, free: 10.78 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.00102/0.00102, allocations: 183.5 kB / 393.1 MB, free: 4.094 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.756/1.756, allocations: 225.7 MB / 0.6743 GB, free: 12.54 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.0009156/0.0009151, allocations: 97.05 kB / 0.7935 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 8 kB / 0.9224 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6127/0.6131, allocations: 121.3 MB / 1.041 GB, free: 58.82 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002847/0.616, allocations: 2.695 MB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.6173, allocations: 0.8974 MB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.6176, allocations: 16.59 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.6177, allocations: 52.27 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.6179, allocations: 74.16 kB / 1.045 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.6184, allocations: 227 kB / 1.045 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.6188, allocations: 0.4947 MB / 1.045 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.6191, allocations: 235.1 kB / 1.045 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.6193, allocations: 153.6 kB / 1.046 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.6195, allocations: 154.5 kB / 1.046 GB, free: 55.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.6195, allocations: 11.03 kB / 1.046 GB, free: 55.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.6196, allocations: 15.75 kB / 1.046 GB, free: 55.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.6196, allocations: 65.34 kB / 1.046 GB, free: 55.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.6198, allocations: 207.7 kB / 1.046 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.6202, allocations: 0.5233 MB / 1.047 GB, free: 55.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6202, allocations: 1.281 kB / 1.047 GB, free: 55.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6202, allocations: 1.641 kB / 1.047 GB, free: 55.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6202, allocations: 0.5625 kB / 1.047 GB, free: 55.23 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009528/0.6211, allocations: 0.6933 MB / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.6212, allocations: 10.84 kB / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.6213, allocations: 57.3 kB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.6217, allocations: 406.6 kB / 1.048 GB, free: 54.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.6218, allocations: 29.56 kB / 1.048 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.6219, allocations: 41 kB / 1.048 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.6225, allocations: 401.1 kB / 1.048 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.6225, allocations: 0 / 1.048 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.6225, allocations: 16.09 kB / 1.048 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.6225, allocations: 9.031 kB / 1.048 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.623, allocations: 270.8 kB / 1.048 GB, free: 53.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.6245, allocations: 1.33 MB / 1.05 GB, free: 53.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.6251, allocations: 308.4 kB / 1.05 GB, free: 52.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.6254, allocations: 149.1 kB / 1.05 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.6254, allocations: 8.031 kB / 1.05 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.6258, allocations: 176.7 kB / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.664e-06/0.6258, allocations: 0 / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0007397/0.6265, allocations: 380.9 kB / 1.051 GB, free: 52.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.6266, allocations: 87.19 kB / 1.051 GB, free: 52.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.6269, allocations: 350.1 kB / 1.051 GB, free: 52.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.6269, allocations: 29.7 kB / 1.051 GB, free: 52.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.6271, allocations: 243.8 kB / 1.051 GB, free: 52.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.6271, allocations: 102.9 kB / 1.051 GB, free: 52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.6272, allocations: 13.47 kB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.6273, allocations: 350.4 kB / 1.052 GB, free: 51.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.6275, allocations: 101.2 kB / 1.052 GB, free: 51.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.6277, allocations: 171.5 kB / 1.052 GB, free: 51.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.6282, allocations: 261.5 kB / 1.052 GB, free: 51.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6282, allocations: 1.469 kB / 1.052 GB, free: 51.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006048/0.6288, allocations: 353.6 kB / 1.053 GB, free: 51.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.6288, allocations: 10.34 kB / 1.053 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.6288, allocations: 1.094 kB / 1.053 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6289, allocations: 3.406 kB / 1.053 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.6291, allocations: 67.08 kB / 1.053 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6292, allocations: 5.375 kB / 1.053 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.6294, allocations: 43.55 kB / 1.053 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.6294, allocations: 11.97 kB / 1.053 GB, free: 51.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.00016/0.6296, allocations: 186.4 kB / 1.053 GB, free: 50.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.6296, allocations: 38.09 kB / 1.053 GB, free: 50.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.6297, allocations: 44.86 kB / 1.053 GB, free: 50.94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6297, allocations: 4.844 kB / 1.053 GB, free: 50.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6297, allocations: 0 / 1.053 GB, free: 50.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6297, allocations: 2.719 kB / 1.053 GB, free: 50.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009928/0.6307, allocations: 0.8136 MB / 1.054 GB, free: 50.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6307, allocations: 1.094 kB / 1.054 GB, free: 50.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.631, allocations: 49.91 kB / 1.054 GB, free: 50.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.631, allocations: 2.828 kB / 1.054 GB, free: 50.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.631, allocations: 6.375 kB / 1.054 GB, free: 50.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.631, allocations: 0.7812 kB / 1.054 GB, free: 50.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.631, allocations: 9.625 kB / 1.054 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.6318, allocations: 0.5102 MB / 1.054 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.6319, allocations: 138 kB / 1.055 GB, free: 49.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.632, allocations: 9.188 kB / 1.055 GB, free: 49.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.6322, allocations: 23.52 kB / 1.055 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.6322, allocations: 25.33 kB / 1.055 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.6323, allocations: 11.56 kB / 1.055 GB, free: 49.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002221/0.6325, allocations: 242.1 kB / 1.055 GB, free: 49.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6325, allocations: 3.938 kB / 1.055 GB, free: 49.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003068/0.6328, allocations: 88.25 kB / 1.055 GB, free: 49.81 MB / 0.698 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.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * 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 (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.0001177/0.6329, allocations: 122.5 kB / 1.055 GB, free: 49.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.6334, allocations: 266.1 kB / 1.055 GB, free: 49.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6335, allocations: 0 / 1.055 GB, free: 49.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.6337, allocations: 139.6 kB / 1.055 GB, free: 49.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.6342, allocations: 79.48 kB / 1.055 GB, free: 49.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.6356, allocations: 1.008 MB / 1.056 GB, free: 48.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.6358, allocations: 0.8145 MB / 1.057 GB, free: 48.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000176/0.636, allocations: 48.69 kB / 1.057 GB, free: 48.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.6361, allocations: 31.31 kB / 1.057 GB, free: 48.19 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.6361, allocations: 0 / 1.057 GB, free: 48.19 MB / 0.698 GB Notification: Performance of Templates: time 0.006804/0.6429, allocations: 3.367 MB / 1.061 GB, free: 47.96 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)