Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 255.9 MB / 271.2 MB, free: 8.902 MB / 218.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.001083/0.001083, allocations: 185.1 kB / 330.8 MB, free: 468 kB / 250.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.554/1.554, allocations: 225.7 MB / 0.6016 GB, free: 20 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008213, allocations: 110.5 kB / 0.709 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003743, allocations: 9.938 kB / 0.8261 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 109.2 MB / 0.9327 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002847/0.2152, allocations: 2.672 MB / 0.9353 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2167, allocations: 0.9042 MB / 0.9362 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.2169, allocations: 15.94 kB / 0.9362 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.2171, allocations: 55.5 kB / 0.9363 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.2173, allocations: 75.42 kB / 0.9364 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.2177, allocations: 215.7 kB / 0.9366 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.2181, allocations: 0.5075 MB / 0.9371 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.2184, allocations: 227.4 kB / 0.9373 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.2186, allocations: 147.1 kB / 0.9374 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2187, allocations: 162.9 kB / 0.9376 GB, free: 19.13 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.2188, allocations: 12 kB / 0.9376 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.539e-05/0.2188, allocations: 12 kB / 0.9376 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.2189, allocations: 71.52 kB / 0.9377 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.219, allocations: 208.5 kB / 0.9379 GB, free: 18.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.2193, allocations: 0.5061 MB / 0.9384 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2193, allocations: 0 / 0.9384 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2194, allocations: 0 / 0.9384 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2194, allocations: 0 / 0.9384 GB, free: 18.32 MB / 0.5886 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.0009538/0.2203, allocations: 0.6883 MB / 0.939 GB, free: 17.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2204, allocations: 15.92 kB / 0.9391 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.2205, allocations: 60.28 kB / 0.9391 GB, free: 17.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.2209, allocations: 412.5 kB / 0.9395 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.2209, allocations: 29.38 kB / 0.9395 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.221, allocations: 40.36 kB / 0.9396 GB, free: 17 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.2215, allocations: 398 kB / 0.94 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2216, allocations: 3.938 kB / 0.94 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.2216, allocations: 16 kB / 0.94 GB, free: 16.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2216, allocations: 8 kB / 0.94 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.2221, allocations: 267.9 kB / 0.9402 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.2234, allocations: 1.332 MB / 0.9415 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.2241, allocations: 316 kB / 0.9418 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2243, allocations: 144.7 kB / 0.942 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.2243, allocations: 4 kB / 0.942 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.2247, allocations: 177.4 kB / 0.9421 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.2247, allocations: 0 / 0.9421 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.0006904/0.2254, allocations: 386.6 kB / 0.9425 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.2254, allocations: 85.09 kB / 0.9426 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.2257, allocations: 345.6 kB / 0.9429 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.2258, allocations: 41.7 kB / 0.943 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2259, allocations: 229 kB / 0.9432 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.2259, allocations: 102.6 kB / 0.9433 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.226, allocations: 4 kB / 0.9433 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.226, allocations: 350.8 kB / 0.9436 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.2262, allocations: 96.7 kB / 0.9437 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2265, allocations: 172.6 kB / 0.9439 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.2268, allocations: 269.1 kB / 0.9441 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2269, allocations: 0 / 0.9441 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004875/0.2273, allocations: 350.5 kB / 0.9445 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2274, allocations: 7.984 kB / 0.9445 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.2274, allocations: 0 / 0.9445 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2274, allocations: 4 kB / 0.9445 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.2277, allocations: 75.78 kB / 0.9446 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2277, allocations: 7.984 kB / 0.9446 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2279, allocations: 43.86 kB / 0.9446 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.2279, allocations: 19.94 kB / 0.9446 GB, free: 11.59 MB / 0.5886 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.0001418/0.2281, allocations: 174 kB / 0.9448 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.2281, allocations: 43.5 kB / 0.9448 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.2282, allocations: 48.25 kB / 0.9449 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2282, allocations: 0 / 0.9449 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2282, allocations: 4 kB / 0.9449 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2282, allocations: 4 kB / 0.9449 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008392/0.2291, allocations: 0.8114 MB / 0.9457 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2291, allocations: 0 / 0.9457 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.2293, allocations: 51.91 kB / 0.9457 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2293, allocations: 4 kB / 0.9457 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.2293, allocations: 12 kB / 0.9457 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2293, allocations: 0 / 0.9457 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2293, allocations: 0 / 0.9457 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.23, allocations: 0.5185 MB / 0.9462 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.2301, allocations: 132.6 kB / 0.9464 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.2302, allocations: 15.98 kB / 0.9464 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2304, allocations: 27.92 kB / 0.9464 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.2304, allocations: 19.97 kB / 0.9464 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2305, allocations: 11.98 kB / 0.9464 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001901/0.2307, allocations: 239.2 kB / 0.9467 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2307, allocations: 4.062 kB / 0.9467 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002942/0.231, allocations: 87.62 kB / 0.9468 GB, free: 9.301 MB / 0.5886 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.0001254/0.2311, allocations: 129.3 kB / 0.9469 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.2316, allocations: 256.1 kB / 0.9471 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-05/0.2316, allocations: 4 kB / 0.9471 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.2319, allocations: 131.9 kB / 0.9473 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.2324, allocations: 77.5 kB / 0.9473 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2336, allocations: 1.009 MB / 0.9483 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.2338, allocations: 0.8152 MB / 0.9491 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.2339, allocations: 43.27 kB / 0.9492 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.234, allocations: 35.42 kB / 0.9492 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of SimCode: time 2.8e-07/0.234, allocations: 0 / 0.9492 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.006433/0.2405, allocations: 3.355 MB / 0.9525 GB, free: 3.406 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)