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.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") 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.564/1.564, allocations: 255.9 MB / 271.2 MB, free: 8.879 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.001302/0.001302, allocations: 181.4 kB / 330.8 MB, free: 460 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.674/1.674, allocations: 225.7 MB / 0.6016 GB, free: 15.92 MB / 442.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.0008286/0.0008287, allocations: 107.5 kB / 0.709 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 8.656 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2321, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.002727/0.2348, allocations: 2.54 MB / 0.9352 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2362, allocations: 0.8499 MB / 0.9361 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.2364, allocations: 11.94 kB / 0.9361 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.2366, allocations: 51.56 kB / 0.9361 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.2367, allocations: 67.44 kB / 0.9362 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.2372, allocations: 203.8 kB / 0.9364 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.2376, allocations: 451.2 kB / 0.9368 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.2379, allocations: 201.1 kB / 0.937 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.2381, allocations: 135.2 kB / 0.9371 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.2382, allocations: 139 kB / 0.9373 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.2383, allocations: 12 kB / 0.9373 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.279e-05/0.2383, allocations: 8 kB / 0.9373 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.2384, allocations: 59.62 kB / 0.9373 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2385, allocations: 184.6 kB / 0.9375 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.2388, allocations: 450.5 kB / 0.9379 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2388, allocations: 0 / 0.9379 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2388, allocations: 4 kB / 0.9379 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2388, allocations: 0 / 0.9379 GB, free: 18.74 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.0008431/0.2396, allocations: 0.639 MB / 0.9386 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2397, allocations: 12.03 kB / 0.9386 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.2398, allocations: 48.38 kB / 0.9386 GB, free: 18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.2402, allocations: 396.3 kB / 0.939 GB, free: 17.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2403, allocations: 21.03 kB / 0.939 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.2403, allocations: 32.36 kB / 0.9391 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.2408, allocations: 345.4 kB / 0.9394 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2408, allocations: 0 / 0.9394 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.2409, allocations: 12 kB / 0.9394 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2409, allocations: 4 kB / 0.9394 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.2413, allocations: 222.1 kB / 0.9396 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.2425, allocations: 1.19 MB / 0.9408 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.243, allocations: 246.6 kB / 0.941 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2433, allocations: 108.8 kB / 0.9411 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.2433, allocations: 8 kB / 0.9411 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.2433, allocations: 38.86 kB / 0.9412 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.233e-06/0.2433, allocations: 0 / 0.9412 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22): time 0.0005638/0.2439, allocations: 296.5 kB / 0.9414 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2439, allocations: 110.8 kB / 0.9416 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.2442, allocations: 337.6 kB / 0.9419 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2443, allocations: 29.7 kB / 0.9419 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2444, allocations: 224.2 kB / 0.9421 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.2444, allocations: 78.89 kB / 0.9422 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.2444, allocations: 7.938 kB / 0.9422 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.2445, allocations: 346.8 kB / 0.9425 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2447, allocations: 75.97 kB / 0.9426 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.2449, allocations: 149 kB / 0.9427 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.2452, allocations: 207.8 kB / 0.9429 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2452, allocations: 4 kB / 0.9429 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004187/0.2456, allocations: 286.2 kB / 0.9432 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2457, allocations: 7.938 kB / 0.9432 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.2457, allocations: 4 kB / 0.9432 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2457, allocations: 4 kB / 0.9432 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.2459, allocations: 60.09 kB / 0.9433 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2459, allocations: 4 kB / 0.9433 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.2461, allocations: 39.67 kB / 0.9433 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.2461, allocations: 8 kB / 0.9433 GB, free: 12.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.2463, allocations: 166.5 kB / 0.9435 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.2463, allocations: 43.59 kB / 0.9435 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.2464, allocations: 39.36 kB / 0.9436 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2464, allocations: 4 kB / 0.9436 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2464, allocations: 0 / 0.9436 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2464, allocations: 0 / 0.9436 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.2468, allocations: 397.2 kB / 0.944 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2468, allocations: 0 / 0.944 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.247, allocations: 43.91 kB / 0.944 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.247, allocations: 0 / 0.944 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.247, allocations: 8 kB / 0.944 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.247, allocations: 8 kB / 0.944 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.247, allocations: 0 / 0.944 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.2476, allocations: 430.9 kB / 0.9444 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.2477, allocations: 124.8 kB / 0.9445 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.2478, allocations: 8 kB / 0.9446 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.248, allocations: 23.92 kB / 0.9446 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.248, allocations: 15.97 kB / 0.9446 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2481, allocations: 12 kB / 0.9446 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001784/0.2482, allocations: 235.2 kB / 0.9448 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2482, allocations: 0 / 0.9448 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002741/0.2485, allocations: 71.75 kB / 0.9449 GB, free: 11.22 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 (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.0001021/0.2486, allocations: 115.1 kB / 0.945 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.249, allocations: 199.7 kB / 0.9452 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.249, allocations: 4.375 kB / 0.9452 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.2492, allocations: 103.9 kB / 0.9453 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.2497, allocations: 77.27 kB / 0.9454 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2509, allocations: 0.8809 MB / 0.9462 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.2511, allocations: 0.7875 MB / 0.947 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.2513, allocations: 42.94 kB / 0.947 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.2513, allocations: 23.44 kB / 0.9471 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of SimCode: time 3.2e-07/0.2513, allocations: 4 kB / 0.9471 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of Templates: time 0.005954/0.2573, allocations: 2.936 MB / 0.9499 GB, free: 6.008 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)