Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008779/0.000878, allocations: 172 kB / 16.07 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4739/0.4739, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 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.215/1.215, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.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.0007113/0.0007113, allocations: 101.7 kB / 425.4 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 8 kB / 0.4955 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2558, allocations: 71.34 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.002894/0.2588, allocations: 3.507 MB / 0.5686 GB, free: 38.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2604, allocations: 1.317 MB / 0.5699 GB, free: 37.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.2607, allocations: 24.5 kB / 0.5699 GB, free: 37.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.2609, allocations: 99.92 kB / 0.57 GB, free: 37.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.2612, allocations: 142.5 kB / 0.5702 GB, free: 37.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.2618, allocations: 391.1 kB / 0.5705 GB, free: 36.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000492/0.2623, allocations: 0.8773 MB / 0.5714 GB, free: 35.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.2627, allocations: 422.1 kB / 0.5718 GB, free: 35.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.2629, allocations: 230.7 kB / 0.572 GB, free: 35.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.2631, allocations: 254.4 kB / 0.5723 GB, free: 35.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.2631, allocations: 24 kB / 0.5723 GB, free: 35.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.838e-05/0.2632, allocations: 24 kB / 0.5723 GB, free: 34.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.2633, allocations: 99.42 kB / 0.5724 GB, free: 34.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.2634, allocations: 335.7 kB / 0.5727 GB, free: 34.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.264, allocations: 0.9555 MB / 0.5736 GB, free: 33.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.264, allocations: 0 / 0.5736 GB, free: 33.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.264, allocations: 3.938 kB / 0.5737 GB, free: 33.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.264, allocations: 0 / 0.5737 GB, free: 33.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001269/0.2653, allocations: 0.9485 MB / 0.5746 GB, free: 32.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2653, allocations: 12.03 kB / 0.5746 GB, free: 32.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.2654, allocations: 87.91 kB / 0.5747 GB, free: 32.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.2661, allocations: 0.5533 MB / 0.5752 GB, free: 31.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.2661, allocations: 45.69 kB / 0.5753 GB, free: 31.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.2662, allocations: 60.38 kB / 0.5753 GB, free: 31.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.2671, allocations: 0.6078 MB / 0.5759 GB, free: 31.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2671, allocations: 8 kB / 0.5759 GB, free: 31.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.2671, allocations: 20 kB / 0.5759 GB, free: 31.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2671, allocations: 16 kB / 0.5759 GB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.268, allocations: 461 kB / 0.5764 GB, free: 30.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.2705, allocations: 2.024 MB / 0.5784 GB, free: 28.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.2714, allocations: 460.7 kB / 0.5788 GB, free: 28.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.2719, allocations: 251.1 kB / 0.579 GB, free: 27.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.272, allocations: 8.422 kB / 0.5791 GB, free: 27.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005439/0.2725, allocations: 265.2 kB / 0.5793 GB, free: 27.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 2.315e-06/0.2725, allocations: 0 / 0.5793 GB, free: 27.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001242/0.2738, allocations: 0.5961 MB / 0.5799 GB, free: 26.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2738, allocations: 59.84 kB / 0.5799 GB, free: 26.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.2742, allocations: 446 kB / 0.5804 GB, free: 26.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.2743, allocations: 33.7 kB / 0.5804 GB, free: 26.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.2745, allocations: 328.9 kB / 0.5807 GB, free: 26.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.2745, allocations: 161.6 kB / 0.5809 GB, free: 25.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.2746, allocations: 12 kB / 0.5809 GB, free: 25.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.2747, allocations: 362.8 kB / 0.5812 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.2751, allocations: 177 kB / 0.5814 GB, free: 25.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.2755, allocations: 253.8 kB / 0.5816 GB, free: 25.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.2762, allocations: 456 kB / 0.5821 GB, free: 24.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2762, allocations: 0 / 0.5821 GB, free: 24.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008034/0.277, allocations: 0.5701 MB / 0.5826 GB, free: 24.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.2771, allocations: 41.83 kB / 0.5827 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2771, allocations: 8 kB / 0.5827 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.2771, allocations: 4 kB / 0.5827 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.2776, allocations: 115.8 kB / 0.5828 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.2776, allocations: 4 kB / 0.5828 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.2779, allocations: 71.5 kB / 0.5829 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.2779, allocations: 23.98 kB / 0.5829 GB, free: 23.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0001815/0.2781, allocations: 205.7 kB / 0.5831 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.2782, allocations: 55.28 kB / 0.5831 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.923e-05/0.2783, allocations: 69.58 kB / 0.5832 GB, free: 23.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2783, allocations: 4 kB / 0.5832 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2783, allocations: 0 / 0.5832 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2783, allocations: 4 kB / 0.5832 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.2796, allocations: 1.185 MB / 0.5844 GB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2797, allocations: 4 kB / 0.5844 GB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.2801, allocations: 95.88 kB / 0.5845 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2801, allocations: 4 kB / 0.5845 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.2801, allocations: 12 kB / 0.5845 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2801, allocations: 3.984 kB / 0.5845 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2802, allocations: 0 / 0.5845 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2812, allocations: 0.7835 MB / 0.5852 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2813, allocations: 168.3 kB / 0.5854 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.2814, allocations: 16 kB / 0.5854 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.2817, allocations: 35.97 kB / 0.5855 GB, free: 21.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.2818, allocations: 32.39 kB / 0.5855 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.2818, allocations: 12 kB / 0.5855 GB, free: 21.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.282, allocations: 306.9 kB / 0.5858 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.282, allocations: 0 / 0.5858 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003384/0.2824, allocations: 143.5 kB / 0.5859 GB, free: 20.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.83e-05/0.2825, allocations: 119.2 kB / 0.586 GB, free: 20.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.2832, allocations: 493.4 kB / 0.5865 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2832, allocations: 4 kB / 0.5865 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.2836, allocations: 214.4 kB / 0.5867 GB, free: 19.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.2842, allocations: 151.3 kB / 0.5869 GB, free: 19.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.2864, allocations: 1.696 MB / 0.5885 GB, free: 17.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2867, allocations: 0.8902 MB / 0.5894 GB, free: 16.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002708/0.287, allocations: 68.53 kB / 0.5895 GB, free: 16.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2871, allocations: 35.44 kB / 0.5895 GB, free: 16.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2871, allocations: 0 / 0.5895 GB, free: 16.86 MB / 410.7 MB Notification: Performance of Templates: time 0.00863/0.2957, allocations: 5.528 MB / 0.5949 GB, free: 11.38 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)