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.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.727/1.727, allocations: 291.7 MB / 306.8 MB, free: 7.734 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.001036/0.001037, allocations: 187.7 kB / 375.4 MB, free: 5.125 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.579/1.579, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008268/0.0008268, allocations: 96.61 kB / 0.7699 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004248, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7523, allocations: 118.1 MB / 1.011 GB, free: 58.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.00252/0.7549, allocations: 1.653 MB / 1.013 GB, free: 58.06 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.7575, allocations: 1.626 MB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.7578, allocations: 7.438 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.758, allocations: 59.08 kB / 1.014 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.7583, allocations: 66.12 kB / 1.014 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008179/0.7591, allocations: 311.2 kB / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006091/0.7597, allocations: 0.6621 MB / 1.015 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004611/0.7602, allocations: 312.3 kB / 1.015 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.7604, allocations: 198.7 kB / 1.016 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.7606, allocations: 217.6 kB / 1.016 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.7607, allocations: 22.47 kB / 1.016 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.7608, allocations: 34.14 kB / 1.016 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.7609, allocations: 84.53 kB / 1.016 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.761, allocations: 118 kB / 1.016 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.7616, allocations: 0.662 MB / 1.017 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.7616, allocations: 0 / 1.017 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7616, allocations: 0 / 1.017 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.7617, allocations: 0 / 1.017 GB, free: 57.48 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001451/0.7631, allocations: 0.8811 MB / 1.018 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7632, allocations: 11.31 kB / 1.018 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.7633, allocations: 76.31 kB / 1.018 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/0.7639, allocations: 443.5 kB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.7639, allocations: 43.19 kB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/0.764, allocations: 57.16 kB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.7649, allocations: 0.4948 MB / 1.019 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.7649, allocations: 192 / 1.019 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.765, allocations: 28.47 kB / 1.019 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.765, allocations: 11.41 kB / 1.019 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.7656, allocations: 358.8 kB / 1.019 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.7677, allocations: 1.59 MB / 1.021 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.7686, allocations: 0.8832 MB / 1.022 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.7689, allocations: 237.3 kB / 1.022 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.769, allocations: 13.56 kB / 1.022 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005042/0.7695, allocations: 258.6 kB / 1.022 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.7695, allocations: 4 kB / 1.022 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.00101/0.7705, allocations: 0.5574 MB / 1.023 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.7706, allocations: 108.9 kB / 1.023 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.771, allocations: 402.6 kB / 1.023 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.104e-05/0.7711, allocations: 39.5 kB / 1.023 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.7713, allocations: 262 kB / 1.023 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.7714, allocations: 156.6 kB / 1.023 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.7714, allocations: 10.38 kB / 1.023 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7715, allocations: 363.5 kB / 1.024 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.7719, allocations: 192.2 kB / 1.024 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.7724, allocations: 286.1 kB / 1.024 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000709/0.7731, allocations: 478.3 kB / 1.025 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7731, allocations: 3.938 kB / 1.025 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001083/0.7742, allocations: 0.6351 MB / 1.025 GB, free: 54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.7743, allocations: 199.3 kB / 1.026 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7743, allocations: 0 / 1.026 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.7744, allocations: 5.812 kB / 1.026 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.7747, allocations: 92.2 kB / 1.026 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7747, allocations: 6.594 kB / 1.026 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.7753, allocations: 135.2 kB / 1.026 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.7754, allocations: 24.89 kB / 1.026 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.7754, allocations: 2.594 kB / 1.026 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008887/0.7763, allocations: 0.5286 MB / 1.026 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7763, allocations: 5.938 kB / 1.026 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.7763, allocations: 4.594 kB / 1.026 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.7766, allocations: 73.95 kB / 1.026 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.7766, allocations: 5.062 kB / 1.026 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.7771, allocations: 125.6 kB / 1.027 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.7772, allocations: 24.94 kB / 1.027 GB, free: 53.63 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0003074/0.7775, allocations: 259.9 kB / 1.027 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.7776, allocations: 51.78 kB / 1.027 GB, free: 53.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.7777, allocations: 54.62 kB / 1.027 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.7777, allocations: 9.625 kB / 1.027 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.7777, allocations: 0 / 1.027 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7777, allocations: 0 / 1.027 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.7793, allocations: 1.085 MB / 1.028 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7794, allocations: 1 kB / 1.028 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.7797, allocations: 83.27 kB / 1.028 GB, free: 53.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.7797, allocations: 3.625 kB / 1.028 GB, free: 53.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.7798, allocations: 10.88 kB / 1.028 GB, free: 53.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.7798, allocations: 2.594 kB / 1.028 GB, free: 53.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7798, allocations: 1.031 kB / 1.028 GB, free: 53.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.7808, allocations: 0.7267 MB / 1.029 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.7809, allocations: 125.3 kB / 1.029 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.781, allocations: 10.47 kB / 1.029 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.7812, allocations: 30.22 kB / 1.029 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.7813, allocations: 28.2 kB / 1.029 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.7813, allocations: 13.06 kB / 1.029 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000341/0.7816, allocations: 290.9 kB / 1.029 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7816, allocations: 0 / 1.029 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006384/0.7823, allocations: 221 kB / 1.029 GB, free: 52.62 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002106/0.7825, allocations: 134.2 kB / 1.03 GB, free: 52.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.7839, allocations: 0.9437 MB / 1.031 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7839, allocations: 0 / 1.031 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.7842, allocations: 199.1 kB / 1.031 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/0.7848, allocations: 99.2 kB / 1.031 GB, free: 52.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.7863, allocations: 1.104 MB / 1.032 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.7866, allocations: 0.8591 MB / 1.033 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000226/0.7868, allocations: 59.39 kB / 1.033 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7869, allocations: 42.47 kB / 1.033 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.7869, allocations: 3.938 kB / 1.033 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.01274/0.7997, allocations: 6.513 MB / 1.039 GB, free: 50.55 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)