Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.945/1.945, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001297/0.001297, allocations: 179.3 kB / 393.1 MB, free: 4.09 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.583/1.583, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008884/0.0008885, allocations: 91.86 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003942, allocations: 12 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.732, allocations: 121.3 MB / 1.041 GB, free: 58.34 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003216/0.7353, allocations: 2.539 MB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.7381, allocations: 1.623 MB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.7386, allocations: 19.38 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.7389, allocations: 104.6 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.7393, allocations: 91.5 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.7399, allocations: 290.3 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008354/0.7407, allocations: 0.9461 MB / 1.046 GB, free: 54.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009065/0.7416, allocations: 0.5632 MB / 1.047 GB, free: 54.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.7419, allocations: 250.9 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.7422, allocations: 299.9 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/0.7423, allocations: 27.16 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-05/0.7424, allocations: 24.84 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.7425, allocations: 129.6 kB / 1.048 GB, free: 53.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.7427, allocations: 369.6 kB / 1.048 GB, free: 53.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009727/0.7437, allocations: 1.12 MB / 1.049 GB, free: 53.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.7437, allocations: 1.188 kB / 1.049 GB, free: 53.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7437, allocations: 0 / 1.049 GB, free: 53.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.7438, allocations: 0 / 1.049 GB, free: 53.27 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00189/0.7457, allocations: 1.139 MB / 1.05 GB, free: 52.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7457, allocations: 10.56 kB / 1.05 GB, free: 52.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.7459, allocations: 114 kB / 1.05 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.7466, allocations: 0.5464 MB / 1.051 GB, free: 52.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.7466, allocations: 70.69 kB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.7468, allocations: 91.16 kB / 1.051 GB, free: 51.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.7483, allocations: 0.8602 MB / 1.052 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.7483, allocations: 192 / 1.052 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.7484, allocations: 44.05 kB / 1.052 GB, free: 51.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.7484, allocations: 21.88 kB / 1.052 GB, free: 51.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.7496, allocations: 0.6225 MB / 1.052 GB, free: 51.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.7532, allocations: 2.713 MB / 1.055 GB, free: 49.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.7546, allocations: 1.324 MB / 1.056 GB, free: 48.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.7552, allocations: 390.3 kB / 1.057 GB, free: 48.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.7553, allocations: 12.2 kB / 1.057 GB, free: 48.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000664/0.7559, allocations: 347.7 kB / 1.057 GB, free: 48.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 2.875e-06/0.756, allocations: 4 kB / 1.057 GB, free: 48.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001525/0.7575, allocations: 0.8048 MB / 1.058 GB, free: 48.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.7576, allocations: 168.7 kB / 1.058 GB, free: 48.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.7582, allocations: 0.5427 MB / 1.059 GB, free: 47.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.7582, allocations: 42.27 kB / 1.059 GB, free: 47.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.7585, allocations: 395 kB / 1.059 GB, free: 47.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.7586, allocations: 239.6 kB / 1.059 GB, free: 47.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.7586, allocations: 14.97 kB / 1.059 GB, free: 47.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7588, allocations: 384.8 kB / 1.06 GB, free: 46.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.7592, allocations: 230.6 kB / 1.06 GB, free: 46.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.7597, allocations: 348.5 kB / 1.06 GB, free: 46.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.7606, allocations: 0.528 MB / 1.061 GB, free: 46.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7606, allocations: 0 / 1.061 GB, free: 46.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001114/0.7617, allocations: 0.6823 MB / 1.061 GB, free: 46.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.576e-05/0.7618, allocations: 125.4 kB / 1.062 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7618, allocations: 0 / 1.062 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.7618, allocations: 3.094 kB / 1.062 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.7624, allocations: 150.9 kB / 1.062 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.7624, allocations: 7.75 kB / 1.062 GB, free: 45.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.7628, allocations: 105.5 kB / 1.062 GB, free: 45.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.7628, allocations: 25.66 kB / 1.062 GB, free: 45.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.7628, allocations: 3.5 kB / 1.062 GB, free: 45.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006911/0.7635, allocations: 475 kB / 1.062 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-06/0.7635, allocations: 0 / 1.062 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.7636, allocations: 6.969 kB / 1.062 GB, free: 45.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.764, allocations: 123 kB / 1.062 GB, free: 45.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.764, allocations: 6.969 kB / 1.062 GB, free: 45.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.7643, allocations: 79.11 kB / 1.062 GB, free: 45.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.7643, allocations: 27.88 kB / 1.062 GB, free: 45.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0004129/0.7647, allocations: 298.4 kB / 1.063 GB, free: 45.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.7648, allocations: 70.44 kB / 1.063 GB, free: 45.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.765, allocations: 78.5 kB / 1.063 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.765, allocations: 6.281 kB / 1.063 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/0.765, allocations: 0 / 1.063 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.765, allocations: 4.031 kB / 1.063 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.7672, allocations: 1.575 MB / 1.064 GB, free: 44.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.7672, allocations: 0 / 1.064 GB, free: 44.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.7678, allocations: 133.2 kB / 1.065 GB, free: 44.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.7678, allocations: 3.188 kB / 1.065 GB, free: 44.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.7679, allocations: 22.3 kB / 1.065 GB, free: 44.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.7679, allocations: 3.312 kB / 1.065 GB, free: 44.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7679, allocations: 0 / 1.065 GB, free: 44.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.7695, allocations: 1.01 MB / 1.066 GB, free: 43.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.7696, allocations: 156 kB / 1.066 GB, free: 43.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.7697, allocations: 22.84 kB / 1.066 GB, free: 43.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.77, allocations: 54.27 kB / 1.066 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.7701, allocations: 37.39 kB / 1.066 GB, free: 43.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.7702, allocations: 26.45 kB / 1.066 GB, free: 43.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004938/0.7707, allocations: 386.8 kB / 1.066 GB, free: 43.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7707, allocations: 0 / 1.066 GB, free: 43.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007441/0.7714, allocations: 292.9 kB / 1.067 GB, free: 43.52 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 (68): * Single equations (assignments): 68 * 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.0002226/0.7717, allocations: 134.9 kB / 1.067 GB, free: 43.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.773, allocations: 0.8301 MB / 1.067 GB, free: 43.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.773, allocations: 0 / 1.067 GB, free: 43.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.7735, allocations: 307.8 kB / 1.068 GB, free: 43.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.7743, allocations: 131.5 kB / 1.068 GB, free: 43.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.777, allocations: 1.855 MB / 1.07 GB, free: 41.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.7775, allocations: 0.9718 MB / 1.071 GB, free: 41.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003299/0.7778, allocations: 86.42 kB / 1.071 GB, free: 41.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.778, allocations: 55.81 kB / 1.071 GB, free: 41.11 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.778, allocations: 0 / 1.071 GB, free: 41.11 MB / 0.698 GB Notification: Performance of Templates: time 0.01435/0.7923, allocations: 6.721 MB / 1.077 GB, free: 40.68 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)