Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.134/2.134, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001289/0.001289, allocations: 175.5 kB / 393.1 MB, free: 4.074 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.465/1.465, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0008437/0.0008437, allocations: 97.55 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 9.094 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6021, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003191/0.6054, allocations: 2.565 MB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.6069, allocations: 0.8519 MB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.6071, allocations: 13.16 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.6073, allocations: 43.7 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.6075, allocations: 80.09 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.608, allocations: 199.4 kB / 1.045 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.6085, allocations: 454.8 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.6088, allocations: 201.8 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.6091, allocations: 131.1 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.6092, allocations: 131.2 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.6093, allocations: 13.53 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-05/0.6093, allocations: 13.53 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.6094, allocations: 54.86 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.6095, allocations: 180.9 kB / 1.046 GB, free: 55.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.61, allocations: 473.3 kB / 1.046 GB, free: 55.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.61, allocations: 0 / 1.046 GB, free: 55.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/0.61, allocations: 0 / 1.046 GB, free: 55.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.61, allocations: 3 kB / 1.046 GB, free: 55.08 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009684/0.611, allocations: 0.6385 MB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6111, allocations: 11.81 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.6112, allocations: 48.64 kB / 1.047 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.6117, allocations: 397.6 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.6117, allocations: 21.41 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.6118, allocations: 37.53 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.6124, allocations: 338.5 kB / 1.048 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.6124, allocations: 0 / 1.048 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.6124, allocations: 11.28 kB / 1.048 GB, free: 54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.6125, allocations: 10.19 kB / 1.048 GB, free: 54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.6129, allocations: 220.7 kB / 1.048 GB, free: 53.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.6143, allocations: 1.188 MB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.6148, allocations: 236 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.615, allocations: 116.4 kB / 1.049 GB, free: 52.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.6151, allocations: 3.984 kB / 1.049 GB, free: 52.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6151, allocations: 41.91 kB / 1.049 GB, free: 52.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/0.6151, allocations: 0 / 1.049 GB, free: 52.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.0006502/0.6158, allocations: 306.6 kB / 1.05 GB, free: 52.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.6159, allocations: 110.3 kB / 1.05 GB, free: 52.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.6162, allocations: 336.7 kB / 1.05 GB, free: 52.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.6163, allocations: 33.64 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.6164, allocations: 217.3 kB / 1.05 GB, free: 52.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.6165, allocations: 80.48 kB / 1.05 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.6165, allocations: 4 kB / 1.05 GB, free: 52.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6166, allocations: 339.7 kB / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.6168, allocations: 79.3 kB / 1.051 GB, free: 51.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.617, allocations: 150.8 kB / 1.051 GB, free: 51.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.6174, allocations: 214 kB / 1.051 GB, free: 51.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6174, allocations: 0 / 1.051 GB, free: 51.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004755/0.6179, allocations: 283.3 kB / 1.051 GB, free: 51.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.6179, allocations: 6.219 kB / 1.051 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6179, allocations: 1.219 kB / 1.051 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6179, allocations: 4.156 kB / 1.051 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.6182, allocations: 57.8 kB / 1.051 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.6182, allocations: 2.188 kB / 1.051 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.6184, allocations: 40.58 kB / 1.051 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.6184, allocations: 7 kB / 1.051 GB, free: 51.36 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001451/0.6185, allocations: 162.1 kB / 1.052 GB, free: 51.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.6186, allocations: 35.53 kB / 1.052 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.987e-05/0.6187, allocations: 46.02 kB / 1.052 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6187, allocations: 7.594 kB / 1.052 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6187, allocations: 0 / 1.052 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.6187, allocations: 0.6094 kB / 1.052 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.6191, allocations: 402.4 kB / 1.052 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6191, allocations: 0 / 1.052 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.6193, allocations: 44.16 kB / 1.052 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.6193, allocations: 4.125 kB / 1.052 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.6193, allocations: 4 kB / 1.052 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6194, allocations: 0 / 1.052 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6194, allocations: 0.7188 kB / 1.052 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.62, allocations: 432.5 kB / 1.053 GB, free: 50.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.6201, allocations: 131.3 kB / 1.053 GB, free: 50.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.6202, allocations: 8.094 kB / 1.053 GB, free: 50.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.6204, allocations: 26.81 kB / 1.053 GB, free: 50.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.6204, allocations: 15.94 kB / 1.053 GB, free: 50.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.6205, allocations: 6.422 kB / 1.053 GB, free: 50.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002148/0.6207, allocations: 238.1 kB / 1.053 GB, free: 50.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6207, allocations: 0 / 1.053 GB, free: 50.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002947/0.621, allocations: 66.78 kB / 1.053 GB, free: 50.31 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001083/0.6211, allocations: 113.6 kB / 1.053 GB, free: 50.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.6215, allocations: 203.2 kB / 1.053 GB, free: 50.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6215, allocations: 2.531 kB / 1.053 GB, free: 50.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.6217, allocations: 102.4 kB / 1.053 GB, free: 50.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.6223, allocations: 82.22 kB / 1.054 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.6235, allocations: 0.8738 MB / 1.054 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.6237, allocations: 0.7928 MB / 1.055 GB, free: 48.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.6239, allocations: 38.05 kB / 1.055 GB, free: 48.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.624, allocations: 28.56 kB / 1.055 GB, free: 48.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.624, allocations: 0 / 1.055 GB, free: 48.8 MB / 0.698 GB Notification: Performance of Templates: time 0.006667/0.6307, allocations: 2.951 MB / 1.058 GB, free: 48.6 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)