Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.871/1.871, allocations: 291.7 MB / 306.8 MB, free: 7.672 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.001202/0.001202, allocations: 184.5 kB / 375.4 MB, free: 5.141 MB / 298.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.6/1.6, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0008373/0.0008375, allocations: 93.62 kB / 0.7699 GB, free: 50.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005982/0.0005988, allocations: 12.56 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.7556, allocations: 118.1 MB / 1.011 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002927/0.7586, allocations: 2.601 MB / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.761, allocations: 1.641 MB / 1.015 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.7614, allocations: 17.84 kB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.7617, allocations: 106.8 kB / 1.015 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.762, allocations: 93.09 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.7624, allocations: 215.3 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007502/0.7632, allocations: 0.9498 MB / 1.016 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007713/0.764, allocations: 0.5772 MB / 1.017 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.7642, allocations: 239.6 kB / 1.017 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.7645, allocations: 304.7 kB / 1.017 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.7646, allocations: 25.97 kB / 1.018 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.7646, allocations: 24.19 kB / 1.018 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.7647, allocations: 134.4 kB / 1.018 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.7649, allocations: 166.9 kB / 1.018 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.7656, allocations: 0.9709 MB / 1.019 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.7656, allocations: 0 / 1.019 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7657, allocations: 2.75 kB / 1.019 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.7657, allocations: 0 / 1.019 GB, free: 56.1 MB / 0.7136 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.001804/0.7675, allocations: 1.175 MB / 1.02 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.436e-05/0.7676, allocations: 11.19 kB / 1.02 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.7678, allocations: 116.9 kB / 1.02 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007174/0.7685, allocations: 0.5917 MB / 1.021 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.7685, allocations: 73.72 kB / 1.021 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.7687, allocations: 87.94 kB / 1.021 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.77, allocations: 0.8556 MB / 1.022 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.77, allocations: 9.125 kB / 1.022 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.7701, allocations: 43.77 kB / 1.022 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.7701, allocations: 20.97 kB / 1.022 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.7712, allocations: 0.6221 MB / 1.022 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.775, allocations: 2.727 MB / 1.025 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.7766, allocations: 1.331 MB / 1.026 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.7771, allocations: 385.3 kB / 1.027 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.7772, allocations: 13.36 kB / 1.027 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000658/0.7779, allocations: 343.4 kB / 1.027 GB, free: 53.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=68): time 2.916e-06/0.7779, allocations: 0 / 1.027 GB, free: 53.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=68): time 0.001676/0.7796, allocations: 0.8197 MB / 1.028 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.7797, allocations: 167 kB / 1.028 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.7805, allocations: 0.587 MB / 1.028 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.7806, allocations: 42.39 kB / 1.029 GB, free: 52.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.7809, allocations: 411.6 kB / 1.029 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.7811, allocations: 239.2 kB / 1.029 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.7811, allocations: 14.5 kB / 1.029 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7813, allocations: 389.6 kB / 1.03 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.7817, allocations: 224 kB / 1.03 GB, free: 52.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.7823, allocations: 354.8 kB / 1.03 GB, free: 51.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/0.7832, allocations: 0.5175 MB / 1.031 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7832, allocations: 5.25 kB / 1.031 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001084/0.7843, allocations: 0.6723 MB / 1.031 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.7843, allocations: 113.3 kB / 1.031 GB, free: 51.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.7843, allocations: 0 / 1.031 GB, free: 51.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.7844, allocations: 4.938 kB / 1.031 GB, free: 51.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.7849, allocations: 153.1 kB / 1.032 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.7849, allocations: 8 kB / 1.032 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.7853, allocations: 112.1 kB / 1.032 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.7854, allocations: 19.78 kB / 1.032 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.7854, allocations: 3.531 kB / 1.032 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007863/0.7862, allocations: 475.2 kB / 1.032 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.7862, allocations: 4.281 kB / 1.032 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-06/0.7862, allocations: 0.9375 kB / 1.032 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.7866, allocations: 126.8 kB / 1.032 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.7866, allocations: 8.312 kB / 1.032 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.7869, allocations: 82.27 kB / 1.032 GB, free: 51.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.787, allocations: 20.66 kB / 1.032 GB, free: 51.57 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003656/0.7873, allocations: 295.5 kB / 1.033 GB, free: 51.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.7874, allocations: 78.12 kB / 1.033 GB, free: 51.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.7876, allocations: 83.06 kB / 1.033 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.7876, allocations: 6.75 kB / 1.033 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.7877, allocations: 1.375 kB / 1.033 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.7877, allocations: 0.7031 kB / 1.033 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.7898, allocations: 1.589 MB / 1.034 GB, free: 50.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7898, allocations: 1.406 kB / 1.034 GB, free: 50.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.7904, allocations: 131.6 kB / 1.034 GB, free: 50.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.7904, allocations: 3.219 kB / 1.034 GB, free: 50.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.7904, allocations: 15.97 kB / 1.034 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.7905, allocations: 8.188 kB / 1.034 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7905, allocations: 0 / 1.034 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.7921, allocations: 1.023 MB / 1.035 GB, free: 50.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.7922, allocations: 159.4 kB / 1.036 GB, free: 49.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.7923, allocations: 16.53 kB / 1.036 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.7926, allocations: 54.73 kB / 1.036 GB, free: 49.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.7927, allocations: 36.72 kB / 1.036 GB, free: 49.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.7927, allocations: 24.92 kB / 1.036 GB, free: 49.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004327/0.7932, allocations: 417.9 kB / 1.036 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7932, allocations: 0.6562 kB / 1.036 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006576/0.7939, allocations: 301.6 kB / 1.036 GB, free: 49.54 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.794, allocations: 136.3 kB / 1.037 GB, free: 49.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.7953, allocations: 0.8209 MB / 1.037 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7954, allocations: 1.016 kB / 1.037 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.7958, allocations: 307.6 kB / 1.038 GB, free: 49.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.7966, allocations: 132.2 kB / 1.038 GB, free: 49.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.7988, allocations: 1.822 MB / 1.04 GB, free: 47.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.7992, allocations: 0.9861 MB / 1.041 GB, free: 47.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004069/0.7996, allocations: 79.77 kB / 1.041 GB, free: 47.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.7997, allocations: 60.66 kB / 1.041 GB, free: 47.19 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.7997, allocations: 3.938 kB / 1.041 GB, free: 47.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.01314/0.8129, allocations: 6.512 MB / 1.047 GB, free: 46.9 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)