Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.276/2.276, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001827/0.001827, allocations: 195.1 kB / 329.5 MB, free: 1.188 MB / 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 2.4/2.4, allocations: 225.6 MB / 0.6001 GB, free: 0.5586 MB / 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.0009999/0.0009998, allocations: 94.25 kB / 0.7074 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004873, allocations: 14.41 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2281, allocations: 109.1 MB / 0.9308 GB, free: 24.96 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00391/0.232, allocations: 2.66 MB / 0.9334 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.2344, allocations: 0.904 MB / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.2349, allocations: 15.94 kB / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.2351, allocations: 47.56 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.2354, allocations: 71.38 kB / 0.9344 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.2362, allocations: 163.8 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.2369, allocations: 499.7 kB / 0.935 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008499/0.2378, allocations: 235.7 kB / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.2384, allocations: 135.2 kB / 0.9353 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.2388, allocations: 155 kB / 0.9355 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.2389, allocations: 19.94 kB / 0.9355 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.239, allocations: 12 kB / 0.9355 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2391, allocations: 55.7 kB / 0.9356 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.2394, allocations: 113.4 kB / 0.9357 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.2402, allocations: 415.2 kB / 0.9361 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.2402, allocations: 0 / 0.9361 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2403, allocations: 0 / 0.9361 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.2403, allocations: 0 / 0.9361 GB, free: 19.46 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.002577/0.2429, allocations: 0.6922 MB / 0.9368 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.243, allocations: 8.031 kB / 0.9368 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.2432, allocations: 56.28 kB / 0.9368 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.2446, allocations: 408.9 kB / 0.9372 GB, free: 18.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.2448, allocations: 29.38 kB / 0.9372 GB, free: 18.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.245, allocations: 40.36 kB / 0.9373 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.2466, allocations: 393.9 kB / 0.9377 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.2467, allocations: 4 kB / 0.9377 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.2468, allocations: 23.98 kB / 0.9377 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.2469, allocations: 8 kB / 0.9377 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.2482, allocations: 263.8 kB / 0.9379 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.252, allocations: 1.324 MB / 0.9392 GB, free: 16.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.2536, allocations: 310.6 kB / 0.9395 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006363/0.2543, allocations: 140.8 kB / 0.9397 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.2544, allocations: 4 kB / 0.9397 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007733/0.2552, allocations: 181.5 kB / 0.9398 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 5.531e-06/0.2552, allocations: 0 / 0.9398 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.001878/0.2571, allocations: 386.6 kB / 0.9402 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.2573, allocations: 81.11 kB / 0.9403 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.258, allocations: 353.5 kB / 0.9406 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.205e-05/0.2581, allocations: 33.7 kB / 0.9407 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.2584, allocations: 236.9 kB / 0.9409 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.2586, allocations: 98.55 kB / 0.941 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.2587, allocations: 15.94 kB / 0.941 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2588, allocations: 350.8 kB / 0.9413 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.2595, allocations: 104.6 kB / 0.9414 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.2601, allocations: 168.6 kB / 0.9416 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.2607, allocations: 114.9 kB / 0.9417 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.2608, allocations: 0 / 0.9417 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001522/0.2623, allocations: 354.8 kB / 0.942 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.2624, allocations: 4 kB / 0.942 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.2624, allocations: 4 kB / 0.942 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.2625, allocations: 4 kB / 0.942 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007934/0.2633, allocations: 63.91 kB / 0.9421 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.2633, allocations: 7.938 kB / 0.9421 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.264, allocations: 47.86 kB / 0.9422 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/0.2641, allocations: 15.98 kB / 0.9422 GB, free: 12.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004089/0.2645, allocations: 179.4 kB / 0.9423 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.2646, allocations: 39.53 kB / 0.9424 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.2648, allocations: 44.25 kB / 0.9424 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.2649, allocations: 7.938 kB / 0.9424 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.2649, allocations: 8 kB / 0.9424 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.2649, allocations: 3.984 kB / 0.9424 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.2674, allocations: 0.8075 MB / 0.9432 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.2675, allocations: 0 / 0.9432 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.2682, allocations: 51.91 kB / 0.9433 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.2683, allocations: 8 kB / 0.9433 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.2683, allocations: 4 kB / 0.9433 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.2684, allocations: 3.984 kB / 0.9433 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2684, allocations: 0 / 0.9433 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.2704, allocations: 0.5224 MB / 0.9438 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.2707, allocations: 140.6 kB / 0.9439 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2709, allocations: 4 kB / 0.9439 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.2714, allocations: 19.98 kB / 0.944 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.2716, allocations: 27.95 kB / 0.944 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.2716, allocations: 8 kB / 0.944 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004964/0.2721, allocations: 243.2 kB / 0.9442 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.62e-07/0.2722, allocations: 4 kB / 0.9442 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008172/0.273, allocations: 87.62 kB / 0.9443 GB, free: 10.62 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 (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.0002152/0.2733, allocations: 121.8 kB / 0.9444 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.2746, allocations: 272 kB / 0.9447 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.2747, allocations: 0 / 0.9447 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.2753, allocations: 131.8 kB / 0.9448 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.2766, allocations: 73.52 kB / 0.9449 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.2799, allocations: 0.9622 MB / 0.9458 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.2804, allocations: 0.8152 MB / 0.9466 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004968/0.2809, allocations: 47.2 kB / 0.9467 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.2812, allocations: 31.38 kB / 0.9467 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of SimCode: time 1.613e-06/0.2812, allocations: 0 / 0.9467 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of Templates: time 0.01716/0.2984, allocations: 3.257 MB / 0.9499 GB, free: 4.871 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)