Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.838/1.838, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001012/0.001012, allocations: 175.5 kB / 393.1 MB, free: 4.066 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.374/1.374, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007553/0.0007553, allocations: 93.38 kB / 0.7935 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 12 kB / 0.9224 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6002, allocations: 121.3 MB / 1.041 GB, free: 58.98 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004327/0.6046, allocations: 3.625 MB / 1.044 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.607, allocations: 1.024 MB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.6076, allocations: 21.62 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.608, allocations: 137.8 kB / 1.046 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.6085, allocations: 90.98 kB / 1.046 GB, free: 55.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.6091, allocations: 316.9 kB / 1.046 GB, free: 55.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008768/0.6099, allocations: 1.033 MB / 1.047 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008396/0.6108, allocations: 0.6308 MB / 1.048 GB, free: 54.44 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.611, allocations: 248.8 kB / 1.048 GB, free: 54.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.6113, allocations: 323.7 kB / 1.048 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.9e-05/0.6114, allocations: 29.84 kB / 1.048 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.6115, allocations: 24.5 kB / 1.048 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.6116, allocations: 140.2 kB / 1.048 GB, free: 54.03 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.6118, allocations: 404.1 kB / 1.049 GB, free: 53.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009539/0.6128, allocations: 1.266 MB / 1.05 GB, free: 53.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.6128, allocations: 0 / 1.05 GB, free: 53.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6128, allocations: 0 / 1.05 GB, free: 53.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.6129, allocations: 3.031 kB / 1.05 GB, free: 53.36 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.001766/0.6146, allocations: 1.19 MB / 1.051 GB, free: 52.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6147, allocations: 5.812 kB / 1.051 GB, free: 52.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.6149, allocations: 120.7 kB / 1.051 GB, free: 52.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.6155, allocations: 0.5798 MB / 1.052 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.6156, allocations: 75.44 kB / 1.052 GB, free: 52.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6157, allocations: 98.25 kB / 1.052 GB, free: 52.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6173, allocations: 0.9093 MB / 1.053 GB, free: 51.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.6173, allocations: 192 / 1.053 GB, free: 51.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/0.6174, allocations: 46 kB / 1.053 GB, free: 51.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.6174, allocations: 23.34 kB / 1.053 GB, free: 51.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.6187, allocations: 0.6788 MB / 1.054 GB, free: 51.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/0.6229, allocations: 2.877 MB / 1.056 GB, free: 49.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6241, allocations: 0.7271 MB / 1.057 GB, free: 49.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006213/0.6247, allocations: 418 kB / 1.057 GB, free: 49.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.6248, allocations: 11.73 kB / 1.058 GB, free: 49.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006999/0.6255, allocations: 371.5 kB / 1.058 GB, free: 49.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.516e-06/0.6255, allocations: 2.75 kB / 1.058 GB, free: 49.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.001513/0.627, allocations: 0.8783 MB / 1.059 GB, free: 48.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.6271, allocations: 164.9 kB / 1.059 GB, free: 48.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/0.6277, allocations: 0.5899 MB / 1.059 GB, free: 48.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.6278, allocations: 39.05 kB / 1.059 GB, free: 48.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.628, allocations: 442.6 kB / 1.06 GB, free: 47.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.6282, allocations: 248.7 kB / 1.06 GB, free: 47.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.6282, allocations: 16.81 kB / 1.06 GB, free: 47.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6283, allocations: 388.5 kB / 1.061 GB, free: 47.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.6288, allocations: 260.6 kB / 1.061 GB, free: 47.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.6293, allocations: 396.7 kB / 1.061 GB, free: 47.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008902/0.6302, allocations: 0.5867 MB / 1.062 GB, free: 46.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6302, allocations: 3.219 kB / 1.062 GB, free: 46.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001118/0.6314, allocations: 0.7617 MB / 1.062 GB, free: 46.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.6314, allocations: 125.5 kB / 1.063 GB, free: 46.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6314, allocations: 4.594 kB / 1.063 GB, free: 46.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.6315, allocations: 9.969 kB / 1.063 GB, free: 46.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.6321, allocations: 165.8 kB / 1.063 GB, free: 46.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.6321, allocations: 6.594 kB / 1.063 GB, free: 46.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.6325, allocations: 123.3 kB / 1.063 GB, free: 46.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.6325, allocations: 24.47 kB / 1.063 GB, free: 46.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.6325, allocations: 3.312 kB / 1.063 GB, free: 46.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006729/0.6332, allocations: 0.5413 MB / 1.063 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.6332, allocations: 4.031 kB / 1.063 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.6332, allocations: 7.156 kB / 1.063 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.6337, allocations: 139.5 kB / 1.064 GB, free: 46.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6337, allocations: 4.344 kB / 1.064 GB, free: 46.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.634, allocations: 78.95 kB / 1.064 GB, free: 46.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.634, allocations: 18.97 kB / 1.064 GB, free: 46.01 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.000326/0.6343, allocations: 313.6 kB / 1.064 GB, free: 45.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.6344, allocations: 76.84 kB / 1.064 GB, free: 45.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.6345, allocations: 88 kB / 1.064 GB, free: 45.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6346, allocations: 7.234 kB / 1.064 GB, free: 45.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.6346, allocations: 3.5 kB / 1.064 GB, free: 45.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.6346, allocations: 3.938 kB / 1.064 GB, free: 45.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.6366, allocations: 1.642 MB / 1.066 GB, free: 44.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.6367, allocations: 1.875 kB / 1.066 GB, free: 44.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.6372, allocations: 142.4 kB / 1.066 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6372, allocations: 4.609 kB / 1.066 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.6373, allocations: 14.7 kB / 1.066 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6373, allocations: 3.344 kB / 1.066 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6373, allocations: 3.938 kB / 1.066 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.6388, allocations: 1.094 MB / 1.067 GB, free: 44.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.504e-05/0.6389, allocations: 161.5 kB / 1.067 GB, free: 44.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.639, allocations: 19.31 kB / 1.067 GB, free: 44.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.6393, allocations: 54.31 kB / 1.067 GB, free: 44.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.6394, allocations: 37.44 kB / 1.067 GB, free: 44.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.6394, allocations: 24.61 kB / 1.067 GB, free: 44.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000386/0.6398, allocations: 413.2 kB / 1.068 GB, free: 43.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6398, allocations: 0 / 1.068 GB, free: 43.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006305/0.6404, allocations: 334.5 kB / 1.068 GB, free: 43.78 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.0001426/0.6406, allocations: 136.4 kB / 1.068 GB, free: 43.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.642, allocations: 0.9341 MB / 1.069 GB, free: 43.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.642, allocations: 3.938 kB / 1.069 GB, free: 43.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.6425, allocations: 334.9 kB / 1.069 GB, free: 43.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/0.6433, allocations: 156.9 kB / 1.07 GB, free: 43.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.6455, allocations: 2.026 MB / 1.071 GB, free: 41.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.6459, allocations: 0.9992 MB / 1.072 GB, free: 41.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003576/0.6462, allocations: 84.2 kB / 1.073 GB, free: 41.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.6464, allocations: 66.28 kB / 1.073 GB, free: 41.19 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.6464, allocations: 0 / 1.073 GB, free: 41.19 MB / 0.698 GB Notification: Performance of Templates: time 0.01404/0.6604, allocations: 7.377 MB / 1.08 GB, free: 40.7 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)