Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009381/0.0009383, allocations: 182.7 kB / 16.08 MB, free: 5.527 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.4364/0.4364, allocations: 89.07 MB / 105.9 MB, free: 12.45 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.256/1.256, allocations: 225.7 MB / 353.2 MB, free: 1.07 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.0007747/0.0007748, allocations: 98.5 kB / 425.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003003, allocations: 12 kB / 0.4955 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2746, allocations: 71.32 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.003112/0.2778, allocations: 3.659 MB / 0.5688 GB, free: 38.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.2798, allocations: 1.507 MB / 0.5702 GB, free: 37.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.2802, allocations: 32.97 kB / 0.5703 GB, free: 37.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.2804, allocations: 118.9 kB / 0.5704 GB, free: 37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.2809, allocations: 193.3 kB / 0.5706 GB, free: 36.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.2819, allocations: 0.6145 MB / 0.5712 GB, free: 36.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007271/0.2827, allocations: 1.132 MB / 0.5723 GB, free: 35.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.2832, allocations: 488.6 kB / 0.5727 GB, free: 34.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.2836, allocations: 345.9 kB / 0.5731 GB, free: 34.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.2838, allocations: 353.5 kB / 0.5734 GB, free: 33.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.2839, allocations: 31.94 kB / 0.5734 GB, free: 33.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.438e-05/0.284, allocations: 24 kB / 0.5734 GB, free: 33.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.2841, allocations: 151 kB / 0.5736 GB, free: 33.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2843, allocations: 406.8 kB / 0.574 GB, free: 33.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.2848, allocations: 1.014 MB / 0.575 GB, free: 32.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2848, allocations: 0 / 0.575 GB, free: 32.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2848, allocations: 0 / 0.575 GB, free: 32.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2849, allocations: 0 / 0.575 GB, free: 32.26 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001679/0.2865, allocations: 1.236 MB / 0.5762 GB, free: 30.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2866, allocations: 19.97 kB / 0.5762 GB, free: 30.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.2867, allocations: 123.4 kB / 0.5763 GB, free: 30.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008763/0.2876, allocations: 0.7275 MB / 0.577 GB, free: 30.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.2877, allocations: 84.27 kB / 0.5771 GB, free: 29.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.2878, allocations: 68.28 kB / 0.5772 GB, free: 29.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/0.2887, allocations: 0.7446 MB / 0.5779 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2888, allocations: 0 / 0.5779 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.2888, allocations: 24 kB / 0.5779 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2888, allocations: 20 kB / 0.5779 GB, free: 29.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009032/0.2897, allocations: 0.5282 MB / 0.5785 GB, free: 28.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.2923, allocations: 2.286 MB / 0.5807 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.2934, allocations: 0.6366 MB / 0.5813 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.2939, allocations: 279.3 kB / 0.5816 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.2939, allocations: 4.562 kB / 0.5816 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000579/0.2945, allocations: 327.1 kB / 0.5819 GB, free: 24.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/0.2945, allocations: 0 / 0.5819 GB, free: 24.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.001331/0.2959, allocations: 0.7711 MB / 0.5826 GB, free: 24.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2959, allocations: 85.67 kB / 0.5827 GB, free: 24.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.2966, allocations: 0.7555 MB / 0.5835 GB, free: 23.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.2966, allocations: 37.7 kB / 0.5835 GB, free: 23.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.2968, allocations: 440.5 kB / 0.5839 GB, free: 22.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.297, allocations: 205 kB / 0.5841 GB, free: 22.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.297, allocations: 12 kB / 0.5841 GB, free: 22.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.297, allocations: 330 kB / 0.5844 GB, free: 22.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.2974, allocations: 205.2 kB / 0.5846 GB, free: 22.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.2978, allocations: 320.3 kB / 0.5849 GB, free: 21.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.2986, allocations: 0.5075 MB / 0.5854 GB, free: 21.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2986, allocations: 4 kB / 0.5854 GB, free: 21.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009866/0.2996, allocations: 0.6579 MB / 0.5861 GB, free: 20.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.2997, allocations: 159.2 kB / 0.5862 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2997, allocations: 11.88 kB / 0.5862 GB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2997, allocations: 4 kB / 0.5863 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.3003, allocations: 151.7 kB / 0.5864 GB, free: 20.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3003, allocations: 4 kB / 0.5864 GB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.3007, allocations: 87.34 kB / 0.5865 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.3008, allocations: 20 kB / 0.5865 GB, free: 20.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.3008, allocations: 7.906 kB / 0.5865 GB, free: 20.06 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008129/0.3016, allocations: 0.5168 MB / 0.587 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3016, allocations: 7.938 kB / 0.587 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.3016, allocations: 4 kB / 0.587 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.3021, allocations: 139.8 kB / 0.5872 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3022, allocations: 7.984 kB / 0.5872 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.3025, allocations: 71.61 kB / 0.5872 GB, free: 19.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3025, allocations: 20 kB / 0.5873 GB, free: 19.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002454/0.3028, allocations: 298.5 kB / 0.5875 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.3029, allocations: 94.78 kB / 0.5876 GB, free: 18.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.303, allocations: 101.2 kB / 0.5877 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.303, allocations: 8 kB / 0.5877 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.303, allocations: 0 / 0.5877 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3031, allocations: 3.984 kB / 0.5877 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.3047, allocations: 1.454 MB / 0.5892 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3047, allocations: 0 / 0.5892 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.3052, allocations: 103.9 kB / 0.5893 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3053, allocations: 4.094 kB / 0.5893 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.3053, allocations: 19.92 kB / 0.5893 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3053, allocations: 7.984 kB / 0.5893 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3053, allocations: 0 / 0.5893 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.3066, allocations: 0.982 MB / 0.5902 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.3068, allocations: 227.7 kB / 0.5905 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.3069, allocations: 12 kB / 0.5905 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.3073, allocations: 39.97 kB / 0.5905 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.3074, allocations: 36.52 kB / 0.5905 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.3075, allocations: 19.98 kB / 0.5906 GB, free: 15.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004579/0.3079, allocations: 0.5068 MB / 0.5911 GB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3079, allocations: 0 / 0.5911 GB, free: 15.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005683/0.3085, allocations: 279 kB / 0.5913 GB, free: 15.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001184/0.3086, allocations: 127.1 kB / 0.5914 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.3099, allocations: 0.7997 MB / 0.5922 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.31, allocations: 0 / 0.5922 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.3104, allocations: 271.7 kB / 0.5925 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3114, allocations: 243.3 kB / 0.5927 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3134, allocations: 1.932 MB / 0.5946 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3137, allocations: 0.994 MB / 0.5956 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.3141, allocations: 110.9 kB / 0.5957 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.3143, allocations: 71.42 kB / 0.5958 GB, free: 10.41 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.3143, allocations: 0 / 0.5958 GB, free: 10.41 MB / 410.7 MB Notification: Performance of Templates: time 0.01235/0.3266, allocations: 8.69 MB / 0.6042 GB, free: 1.766 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)