Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.001122/0.001122, allocations: 186 kB / 382.3 MB, free: 14.82 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.5/1.5, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.0007675/0.0007676, allocations: 100.7 kB / 0.7789 GB, free: 46.72 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003709, allocations: 12.81 kB / 0.9059 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6925, allocations: 119.2 MB / 1.022 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0008729/0.6934, allocations: 428.8 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.6943, allocations: 0.8024 MB / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.6943, allocations: 2.594 kB / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.6944, allocations: 0 / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.6944, allocations: 8.359 kB / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.258e-05/0.6945, allocations: 8.266 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.6946, allocations: 54.12 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.6947, allocations: 12.81 kB / 1.024 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.6948, allocations: 16.2 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.6948, allocations: 22.03 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.6948, allocations: 1.375 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.6948, allocations: 2.5 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.6949, allocations: 12.67 kB / 1.024 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.6949, allocations: 39.45 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.495e-05/0.695, allocations: 40.61 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.695, allocations: 1.062 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.695, allocations: 1.469 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.695, allocations: 0 / 1.024 GB, free: 57.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004326/0.6954, allocations: 376.3 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.6955, allocations: 9.844 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.6955, allocations: 7.062 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.6956, allocations: 170.9 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6956, allocations: 1.531 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.6957, allocations: 3.25 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.6959, allocations: 87.19 kB / 1.024 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.6959, allocations: 192 / 1.024 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6959, allocations: 3.938 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.696, allocations: 1.438 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.6963, allocations: 84.09 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.6966, allocations: 272.4 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.6968, allocations: 76.64 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.6969, allocations: 49.33 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.6969, allocations: 1.969 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.697, allocations: 36.22 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.697, allocations: 0 / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005099/0.6975, allocations: 164.8 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.6975, allocations: 51.41 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.6976, allocations: 119 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.6976, allocations: 29.7 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.6976, allocations: 92.05 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.6977, allocations: 6.594 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.6977, allocations: 4 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.6977, allocations: 321.9 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.6979, allocations: 40.06 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.698, allocations: 46.28 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.6983, allocations: 93.27 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6983, allocations: 1.375 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003059/0.6986, allocations: 130.2 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6986, allocations: 8.562 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6987, allocations: 0 / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6987, allocations: 2.094 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.6988, allocations: 23.22 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6988, allocations: 0.7031 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.6989, allocations: 18.28 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.6989, allocations: 0 / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.848e-05/0.699, allocations: 118.7 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.699, allocations: 6.859 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.699, allocations: 10.77 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.699, allocations: 0 / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.699, allocations: 2.031 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6991, allocations: 2.812 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.6992, allocations: 172.5 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.6992, allocations: 1.344 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.6993, allocations: 19.69 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6993, allocations: 4.516 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6993, allocations: 1.469 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6993, allocations: 0 / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6993, allocations: 2.562 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.6997, allocations: 226.2 kB / 1.026 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.6997, allocations: 83.23 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.6997, allocations: 0.5625 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.6999, allocations: 21.25 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.6999, allocations: 3.766 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.6999, allocations: 2.25 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.7, allocations: 92.72 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7, allocations: 0 / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001936/0.7002, allocations: 7.438 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001107/0.7003, allocations: 108.8 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.7006, allocations: 102.2 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7006, allocations: 0 / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.7008, allocations: 45.44 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.701, allocations: 8.312 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.7013, allocations: 145.5 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.7014, allocations: 0.6818 MB / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.7015, allocations: 4.594 kB / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.7015, allocations: 7.438 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.7015, allocations: 4 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of Templates: time 0.002239/0.7038, allocations: 0.5462 MB / 1.028 GB, free: 53.63 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)