Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 297.4 MB / 312.6 MB, free: 2.949 MB / 234.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.001067/0.001067, allocations: 182 kB / 382.3 MB, free: 14.84 MB / 314.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.336/1.336, allocations: 225.7 MB / 0.6617 GB, free: 7.211 MB / 490.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.0008397/0.0008398, allocations: 90.89 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6822, allocations: 119.2 MB / 1.022 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005772/0.6881, allocations: 3.653 MB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.6912, allocations: 1.046 MB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.6921, allocations: 21.06 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.6926, allocations: 137.1 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006889/0.6933, allocations: 103.6 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000933/0.6943, allocations: 325.7 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.6957, allocations: 1.06 MB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.6969, allocations: 0.6322 MB / 1.029 GB, free: 53.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.6973, allocations: 262.4 kB / 1.029 GB, free: 53.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.6977, allocations: 329.3 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.6978, allocations: 29.75 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.6979, allocations: 29.53 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.6981, allocations: 148.8 kB / 1.03 GB, free: 53.46 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.6984, allocations: 412.8 kB / 1.03 GB, free: 53.15 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.7, allocations: 1.303 MB / 1.032 GB, free: 52.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7, allocations: 2.938 kB / 1.032 GB, free: 52.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.235e-06/0.7001, allocations: 0 / 1.032 GB, free: 52.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.7001, allocations: 0 / 1.032 GB, free: 52.77 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002863/0.703, allocations: 1.236 MB / 1.033 GB, free: 51.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.703, allocations: 15.84 kB / 1.033 GB, free: 51.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.7033, allocations: 130.2 kB / 1.033 GB, free: 51.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.7045, allocations: 0.6124 MB / 1.033 GB, free: 51.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.7046, allocations: 74.94 kB / 1.034 GB, free: 51.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.7048, allocations: 99.56 kB / 1.034 GB, free: 51.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.7071, allocations: 0.9134 MB / 1.035 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.7072, allocations: 4.344 kB / 1.035 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7073, allocations: 42.48 kB / 1.035 GB, free: 50.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.7073, allocations: 23.88 kB / 1.035 GB, free: 50.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.7094, allocations: 0.6775 MB / 1.035 GB, free: 50.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006237/0.7156, allocations: 2.883 MB / 1.038 GB, free: 49.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.7175, allocations: 0.7268 MB / 1.039 GB, free: 48.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.7186, allocations: 416.7 kB / 1.039 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.7186, allocations: 8.688 kB / 1.039 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.7198, allocations: 382.3 kB / 1.04 GB, free: 48.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.617e-06/0.7198, allocations: 0 / 1.04 GB, free: 48.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.00283/0.7227, allocations: 0.8805 MB / 1.04 GB, free: 48.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.7227, allocations: 161.8 kB / 1.041 GB, free: 48.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7239, allocations: 0.625 MB / 1.041 GB, free: 47.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.724, allocations: 46.58 kB / 1.041 GB, free: 47.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.7244, allocations: 459.6 kB / 1.042 GB, free: 47.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.7247, allocations: 252.7 kB / 1.042 GB, free: 47.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.7248, allocations: 15.91 kB / 1.042 GB, free: 47.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.7249, allocations: 336.1 kB / 1.042 GB, free: 46.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007878/0.7257, allocations: 251.5 kB / 1.042 GB, free: 46.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009103/0.7266, allocations: 395.3 kB / 1.043 GB, free: 46.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.7283, allocations: 0.5974 MB / 1.043 GB, free: 46.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.7283, allocations: 2.656 kB / 1.043 GB, free: 46.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00209/0.7304, allocations: 0.7702 MB / 1.044 GB, free: 45.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/0.7305, allocations: 124.9 kB / 1.044 GB, free: 45.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7305, allocations: 2.281 kB / 1.044 GB, free: 45.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.7305, allocations: 3.25 kB / 1.044 GB, free: 45.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7316, allocations: 162.1 kB / 1.044 GB, free: 45.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.7316, allocations: 5.906 kB / 1.044 GB, free: 45.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.7323, allocations: 121.6 kB / 1.045 GB, free: 45.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.7324, allocations: 26.22 kB / 1.045 GB, free: 45.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.7324, allocations: 4.219 kB / 1.045 GB, free: 45.69 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.7337, allocations: 0.5459 MB / 1.045 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7338, allocations: 0 / 1.045 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7338, allocations: 10.59 kB / 1.045 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.7346, allocations: 140.9 kB / 1.045 GB, free: 45.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.7346, allocations: 3.031 kB / 1.045 GB, free: 45.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/0.7352, allocations: 82.38 kB / 1.045 GB, free: 45.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.7352, allocations: 20.19 kB / 1.045 GB, free: 45.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0006384/0.7359, allocations: 311.1 kB / 1.046 GB, free: 45.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.7361, allocations: 85.69 kB / 1.046 GB, free: 45.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.7364, allocations: 92.36 kB / 1.046 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.7364, allocations: 6.469 kB / 1.046 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.7365, allocations: 0.6094 kB / 1.046 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.7365, allocations: 5.203 kB / 1.046 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.7402, allocations: 1.657 MB / 1.048 GB, free: 44.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.7402, allocations: 0 / 1.048 GB, free: 44.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/0.7412, allocations: 148.7 kB / 1.048 GB, free: 44.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.515e-05/0.7412, allocations: 2.719 kB / 1.048 GB, free: 44.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/0.7413, allocations: 13.58 kB / 1.048 GB, free: 44.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/0.7413, allocations: 3.672 kB / 1.048 GB, free: 44.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7413, allocations: 0 / 1.048 GB, free: 44.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.7441, allocations: 1.101 MB / 1.049 GB, free: 43.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.7443, allocations: 163 kB / 1.049 GB, free: 43.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.7445, allocations: 15.56 kB / 1.049 GB, free: 43.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.7451, allocations: 63 kB / 1.049 GB, free: 43.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.7452, allocations: 48 kB / 1.049 GB, free: 43.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.7453, allocations: 23.75 kB / 1.049 GB, free: 43.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000777/0.7461, allocations: 432.3 kB / 1.049 GB, free: 43.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/0.7461, allocations: 0 / 1.049 GB, free: 43.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001214/0.7473, allocations: 334.6 kB / 1.05 GB, free: 43.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001827/0.7475, allocations: 132.2 kB / 1.05 GB, free: 43.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.75, allocations: 0.9315 MB / 1.051 GB, free: 42.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.75, allocations: 3.781 kB / 1.051 GB, free: 42.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.7508, allocations: 329.1 kB / 1.051 GB, free: 42.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.752, allocations: 160.4 kB / 1.051 GB, free: 42.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.7559, allocations: 2.082 MB / 1.053 GB, free: 41.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.7566, allocations: 1.009 MB / 1.054 GB, free: 40.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006604/0.7572, allocations: 93.48 kB / 1.054 GB, free: 40.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.7575, allocations: 62.22 kB / 1.054 GB, free: 40.52 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.7575, allocations: 0 / 1.054 GB, free: 40.52 MB / 0.698 GB Notification: Performance of Templates: time 0.0229/0.7804, allocations: 7.443 MB / 1.062 GB, free: 40.05 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)