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.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.551/2.551, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001338/0.001338, allocations: 190.9 kB / 329.5 MB, free: 1.148 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.419/2.419, allocations: 225.6 MB / 0.6001 GB, free: 2.238 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.001051/0.00105, allocations: 90.44 kB / 0.7074 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007275/0.0007277, allocations: 14.97 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.215, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003626/0.2187, allocations: 2.529 MB / 0.9332 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2209, allocations: 0.8498 MB / 0.934 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.2213, allocations: 11.94 kB / 0.9341 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.2215, allocations: 47.56 kB / 0.9341 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.2218, allocations: 71.42 kB / 0.9342 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006951/0.2225, allocations: 147.8 kB / 0.9343 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.2231, allocations: 439 kB / 0.9347 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003869/0.2235, allocations: 196.9 kB / 0.9349 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.2237, allocations: 131.2 kB / 0.935 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.2239, allocations: 127.2 kB / 0.9352 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.224, allocations: 8 kB / 0.9352 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.2241, allocations: 15.94 kB / 0.9352 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.2241, allocations: 59.64 kB / 0.9352 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.2242, allocations: 89.5 kB / 0.9353 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.2246, allocations: 363.3 kB / 0.9357 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2246, allocations: 4 kB / 0.9357 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2246, allocations: 0 / 0.9357 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2247, allocations: 0 / 0.9357 GB, free: 20.05 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001284/0.2259, allocations: 0.6507 MB / 0.9363 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.226, allocations: 11.98 kB / 0.9363 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.2261, allocations: 48.38 kB / 0.9364 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.2268, allocations: 380.6 kB / 0.9367 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.2269, allocations: 21.03 kB / 0.9368 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.227, allocations: 32.38 kB / 0.9368 GB, free: 18.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.2278, allocations: 341.4 kB / 0.9371 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2278, allocations: 0 / 0.9371 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.2278, allocations: 12 kB / 0.9371 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2279, allocations: 8 kB / 0.9371 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.2286, allocations: 218.1 kB / 0.9373 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.2306, allocations: 1.19 MB / 0.9385 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/0.2314, allocations: 250.6 kB / 0.9387 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.2318, allocations: 116.8 kB / 0.9389 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.2318, allocations: 0 / 0.9389 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2319, allocations: 38.94 kB / 0.9389 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.2319, allocations: 0 / 0.9389 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22): time 0.0009757/0.2329, allocations: 299.6 kB / 0.9392 GB, free: 16.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2329, allocations: 102.8 kB / 0.9393 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.2334, allocations: 333.7 kB / 0.9396 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2334, allocations: 37.7 kB / 0.9396 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.2336, allocations: 224.2 kB / 0.9398 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/0.2337, allocations: 70.92 kB / 0.9399 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.2337, allocations: 8 kB / 0.9399 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.2338, allocations: 350.7 kB / 0.9403 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.2341, allocations: 75.95 kB / 0.9403 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.2345, allocations: 149.2 kB / 0.9405 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.2348, allocations: 89.11 kB / 0.9406 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2348, allocations: 0 / 0.9406 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007844/0.2356, allocations: 282.4 kB / 0.9408 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2357, allocations: 8.125 kB / 0.9408 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2357, allocations: 8 kB / 0.9408 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2357, allocations: 3.938 kB / 0.9408 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.2361, allocations: 59.91 kB / 0.9409 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2362, allocations: 8 kB / 0.9409 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.2365, allocations: 35.77 kB / 0.9409 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.2366, allocations: 8 kB / 0.9409 GB, free: 14.36 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.2368, allocations: 161.8 kB / 0.9411 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.2369, allocations: 43.45 kB / 0.9411 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.237, allocations: 39.36 kB / 0.9412 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.237, allocations: 4 kB / 0.9412 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.237, allocations: 0 / 0.9412 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.237, allocations: 0 / 0.9412 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.2375, allocations: 397.2 kB / 0.9416 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2375, allocations: 0 / 0.9416 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.238, allocations: 59.78 kB / 0.9416 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.238, allocations: 0 / 0.9416 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.238, allocations: 4 kB / 0.9416 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.551e-05/0.2381, allocations: 0 / 0.9416 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2381, allocations: 0 / 0.9416 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.2391, allocations: 434 kB / 0.942 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.2392, allocations: 124.6 kB / 0.9422 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.2393, allocations: 8 kB / 0.9422 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.2396, allocations: 19.98 kB / 0.9422 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.2397, allocations: 19.97 kB / 0.9422 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.2398, allocations: 4 kB / 0.9422 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002987/0.2401, allocations: 243.2 kB / 0.9424 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2401, allocations: 4 kB / 0.9424 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004263/0.2405, allocations: 67.78 kB / 0.9425 GB, free: 12.67 MB / 0.5886 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 (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.0001259/0.2406, allocations: 109.9 kB / 0.9426 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006776/0.2413, allocations: 204.1 kB / 0.9428 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2414, allocations: 0 / 0.9428 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.2417, allocations: 103.9 kB / 0.9429 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.2426, allocations: 73.33 kB / 0.943 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.2444, allocations: 0.8412 MB / 0.9438 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2447, allocations: 0.7953 MB / 0.9446 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002745/0.245, allocations: 38.95 kB / 0.9446 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2451, allocations: 27.44 kB / 0.9446 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.2452, allocations: 0 / 0.9446 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of Templates: time 0.01022/0.2554, allocations: 2.841 MB / 0.9474 GB, free: 7.582 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)