Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") 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.76/1.76, allocations: 297.4 MB / 312.6 MB, free: 2.973 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.001114/0.001113, allocations: 182 kB / 382.3 MB, free: 14.86 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.582/1.582, allocations: 225.7 MB / 0.6617 GB, free: 7.254 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.000833/0.0008327, allocations: 95.05 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004985, allocations: 12 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8645/0.8651, allocations: 119.2 MB / 1.022 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002032/0.8671, allocations: 1.134 MB / 1.023 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.8711, allocations: 2.786 MB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.8712, allocations: 2.312 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.8727, allocations: 0.5497 MB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.8727, allocations: 19.27 kB / 1.027 GB, free: 55.37 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.536e-06/0.8728, allocations: 0 / 1.027 GB, free: 55.37 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.873, allocations: 177.5 kB / 1.027 GB, free: 55.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.8731, allocations: 31.8 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.8732, allocations: 56.67 kB / 1.027 GB, free: 55.26 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.8733, allocations: 83.59 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.8733, allocations: 6.422 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.8745, allocations: 482.3 kB / 1.027 GB, free: 55.13 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.8745, allocations: 37.8 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.858e-05/0.8746, allocations: 120.7 kB / 1.028 GB, free: 55.03 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.8752, allocations: 386.9 kB / 1.028 GB, free: 54.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.8752, allocations: 0 / 1.028 GB, free: 54.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8752, allocations: 1.344 kB / 1.028 GB, free: 54.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.8752, allocations: 2.812 kB / 1.028 GB, free: 54.87 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006643/0.8759, allocations: 0.5281 MB / 1.028 GB, free: 54.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.876, allocations: 10.81 kB / 1.029 GB, free: 54.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.8761, allocations: 104.3 kB / 1.029 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.8763, allocations: 308.2 kB / 1.029 GB, free: 54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.8764, allocations: 150.9 kB / 1.029 GB, free: 53.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.8764, allocations: 156 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.555e-05/0.8764, allocations: 102.6 kB / 1.029 GB, free: 53.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.8765, allocations: 79.41 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.8765, allocations: 159.3 kB / 1.03 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.8765, allocations: 156.1 kB / 1.03 GB, free: 53.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.8766, allocations: 150.6 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.8769, allocations: 0.5271 MB / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.111e-05/0.8769, allocations: 175.1 kB / 1.03 GB, free: 52.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.877, allocations: 84.08 kB / 1.031 GB, free: 52.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.877, allocations: 81.19 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.877, allocations: 109.9 kB / 1.031 GB, free: 52.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.877, allocations: 4.812 kB / 1.031 GB, free: 52.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.000163/0.8772, allocations: 61.77 kB / 1.031 GB, free: 52.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.8772, allocations: 131.5 kB / 1.031 GB, free: 51.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.8777, allocations: 436.2 kB / 1.031 GB, free: 51.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.8777, allocations: 25.7 kB / 1.031 GB, free: 51.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.8778, allocations: 130.2 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.8778, allocations: 0 / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.8778, allocations: 1.094 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.8779, allocations: 340.8 kB / 1.032 GB, free: 51.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.878, allocations: 98 kB / 1.032 GB, free: 51.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.8782, allocations: 165.4 kB / 1.032 GB, free: 51.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.8785, allocations: 301.2 kB / 1.032 GB, free: 50.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8785, allocations: 3.938 kB / 1.032 GB, free: 50.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004496/0.879, allocations: 323.2 kB / 1.033 GB, free: 50.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.879, allocations: 7.844 kB / 1.033 GB, free: 50.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.879, allocations: 7.938 kB / 1.033 GB, free: 50.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.879, allocations: 2.562 kB / 1.033 GB, free: 50.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-06/0.879, allocations: 2.562 kB / 1.033 GB, free: 50.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.879, allocations: 6.844 kB / 1.033 GB, free: 50.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.8792, allocations: 44.69 kB / 1.033 GB, free: 50.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.8792, allocations: 4.438 kB / 1.033 GB, free: 50.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001825/0.8794, allocations: 240.4 kB / 1.033 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.8794, allocations: 132.5 kB / 1.033 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.8795, allocations: 118.3 kB / 1.033 GB, free: 50.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.8795, allocations: 178.1 kB / 1.033 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/0.8796, allocations: 188.1 kB / 1.034 GB, free: 49.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.8796, allocations: 179.5 kB / 1.034 GB, free: 49.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.8798, allocations: 474.7 kB / 1.034 GB, free: 49.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.8798, allocations: 107.7 kB / 1.034 GB, free: 49.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.8798, allocations: 102.9 kB / 1.034 GB, free: 49.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.45e-05/0.8799, allocations: 180.2 kB / 1.035 GB, free: 48.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.8799, allocations: 182.3 kB / 1.035 GB, free: 48.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.662e-05/0.8799, allocations: 177.2 kB / 1.035 GB, free: 48.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3e-05/0.88, allocations: 189.5 kB / 1.035 GB, free: 48.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.107e-05/0.8801, allocations: 327 kB / 1.035 GB, free: 47.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.8801, allocations: 201.8 kB / 1.036 GB, free: 47.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.8802, allocations: 187.1 kB / 1.036 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.8803, allocations: 116.6 kB / 1.036 GB, free: 47.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.8803, allocations: 178.2 kB / 1.036 GB, free: 47.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.8804, allocations: 106.5 kB / 1.036 GB, free: 47.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002333/0.8806, allocations: 271.5 kB / 1.036 GB, free: 47.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8806, allocations: 0 / 1.036 GB, free: 47.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003689/0.881, allocations: 80.36 kB / 1.036 GB, free: 47.05 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 (0): * Single equations (assignments): 0 * 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.000338/0.8813, allocations: 306.5 kB / 1.037 GB, free: 46.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.8815, allocations: 165.9 kB / 1.037 GB, free: 46.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8816, allocations: 0 / 1.037 GB, free: 46.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.8816, allocations: 0 / 1.037 GB, free: 46.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.8819, allocations: 0.531 MB / 1.037 GB, free: 46.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.8825, allocations: 0.5482 MB / 1.038 GB, free: 45.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.8827, allocations: 0.7796 MB / 1.039 GB, free: 45.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.8827, allocations: 0.8906 kB / 1.039 GB, free: 45.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.8827, allocations: 9.625 kB / 1.039 GB, free: 45.17 MB / 0.698 GB Notification: Performance of SimCode: time 1.9e-07/0.8827, allocations: 0 / 1.039 GB, free: 45.17 MB / 0.698 GB Notification: Performance of Templates: time 0.00561/0.8883, allocations: 2.804 MB / 1.042 GB, free: 44.87 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)