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.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.804/1.804, allocations: 291.7 MB / 306.8 MB, free: 7.68 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.001037/0.001037, allocations: 193.6 kB / 375.4 MB, free: 5.129 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.541/1.541, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.0009246/0.0009246, allocations: 103.7 kB / 0.7699 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004297, allocations: 15.98 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.775, allocations: 118.1 MB / 1.011 GB, free: 58.1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002147/0.7772, allocations: 1.575 MB / 1.012 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.7793, allocations: 1.528 MB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.7796, allocations: 10.44 kB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.7798, allocations: 66.59 kB / 1.014 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.7801, allocations: 57.3 kB / 1.014 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.7806, allocations: 228.9 kB / 1.014 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.7812, allocations: 0.5794 MB / 1.015 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.7816, allocations: 295.1 kB / 1.015 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.7818, allocations: 165.6 kB / 1.015 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.782, allocations: 187.4 kB / 1.015 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.782, allocations: 21.88 kB / 1.016 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-05/0.7821, allocations: 36.8 kB / 1.016 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.7822, allocations: 72.73 kB / 1.016 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/0.7823, allocations: 106.8 kB / 1.016 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.7828, allocations: 0.6108 MB / 1.016 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7828, allocations: 1.125 kB / 1.016 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7828, allocations: 0 / 1.016 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.7828, allocations: 0 / 1.016 GB, free: 57.4 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001158/0.784, allocations: 0.8198 MB / 1.017 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.784, allocations: 11.25 kB / 1.017 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.7841, allocations: 70.11 kB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.7846, allocations: 424.2 kB / 1.018 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.7846, allocations: 38.06 kB / 1.018 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.7847, allocations: 55.19 kB / 1.018 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.7854, allocations: 478.6 kB / 1.018 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.7855, allocations: 192 / 1.018 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.7855, allocations: 21.81 kB / 1.018 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.7856, allocations: 11.97 kB / 1.018 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.7861, allocations: 340.1 kB / 1.018 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.7879, allocations: 1.479 MB / 1.02 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.7886, allocations: 0.8785 MB / 1.021 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.789, allocations: 208.4 kB / 1.021 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.789, allocations: 13.06 kB / 1.021 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.7894, allocations: 222.2 kB / 1.021 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=41): time 1.764e-06/0.7894, allocations: 4 kB / 1.021 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=41): time 0.0008801/0.7903, allocations: 0.5068 MB / 1.022 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.7903, allocations: 108.8 kB / 1.022 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.7907, allocations: 389 kB / 1.022 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.7908, allocations: 38.92 kB / 1.022 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.7909, allocations: 255.4 kB / 1.022 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.791, allocations: 140.5 kB / 1.023 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.791, allocations: 13.16 kB / 1.023 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.7911, allocations: 357.9 kB / 1.023 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.7914, allocations: 160.9 kB / 1.023 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.7917, allocations: 273.9 kB / 1.023 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.7923, allocations: 401.6 kB / 1.024 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7923, allocations: 0 / 1.024 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007793/0.7931, allocations: 0.5332 MB / 1.024 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.7932, allocations: 176.8 kB / 1.024 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7932, allocations: 3.281 kB / 1.024 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.7932, allocations: 3.031 kB / 1.024 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.7936, allocations: 97.42 kB / 1.025 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.7936, allocations: 2.594 kB / 1.025 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.7939, allocations: 101.3 kB / 1.025 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.794, allocations: 19.22 kB / 1.025 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-06/0.794, allocations: 5.156 kB / 1.025 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005358/0.7945, allocations: 424.5 kB / 1.025 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.7946, allocations: 0 / 1.025 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.7946, allocations: 6.281 kB / 1.025 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.7948, allocations: 71.95 kB / 1.025 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7948, allocations: 6.812 kB / 1.025 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.7952, allocations: 83.91 kB / 1.025 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.7952, allocations: 21.11 kB / 1.025 GB, free: 53.74 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0001998/0.7954, allocations: 261.3 kB / 1.026 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.7955, allocations: 45.06 kB / 1.026 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.95e-05/0.7955, allocations: 52.03 kB / 1.026 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.7956, allocations: 5.469 kB / 1.026 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.7956, allocations: 3.938 kB / 1.026 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7956, allocations: 0 / 1.026 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.7967, allocations: 1.014 MB / 1.027 GB, free: 53.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.7968, allocations: 5.062 kB / 1.027 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.7971, allocations: 73.78 kB / 1.027 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7971, allocations: 1.281 kB / 1.027 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.7971, allocations: 14.64 kB / 1.027 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7971, allocations: 3.672 kB / 1.027 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7971, allocations: 0 / 1.027 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009493/0.7981, allocations: 0.6586 MB / 1.027 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.7982, allocations: 130.3 kB / 1.027 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.7982, allocations: 5.281 kB / 1.027 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.7984, allocations: 31.19 kB / 1.027 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.7985, allocations: 21.5 kB / 1.028 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.7985, allocations: 15.78 kB / 1.028 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002671/0.7988, allocations: 278.3 kB / 1.028 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7988, allocations: 0 / 1.028 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005038/0.7993, allocations: 187.2 kB / 1.028 GB, free: 52.74 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: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001872/0.7995, allocations: 127.9 kB / 1.028 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.8005, allocations: 0.7224 MB / 1.029 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8005, allocations: 0 / 1.029 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.8008, allocations: 185.1 kB / 1.029 GB, free: 52.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.8013, allocations: 94.23 kB / 1.029 GB, free: 52.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.8025, allocations: 1.045 MB / 1.03 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.8028, allocations: 0.8465 MB / 1.031 GB, free: 51.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.803, allocations: 52.19 kB / 1.031 GB, free: 51.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.972e-05/0.8031, allocations: 35.64 kB / 1.031 GB, free: 51.18 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.8031, allocations: 1.219 kB / 1.031 GB, free: 51.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.01212/0.8153, allocations: 5.193 MB / 1.036 GB, free: 50.91 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)