Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.741/1.741, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.001197/0.001196, allocations: 179.5 kB / 393.1 MB, free: 4.082 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.537/1.537, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.0008962, allocations: 91.69 kB / 0.7935 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 8 kB / 0.9224 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6939, allocations: 121.3 MB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001677/0.6957, allocations: 1.118 MB / 1.042 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.6977, allocations: 1.948 MB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.6978, allocations: 0.875 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009187/0.6987, allocations: 361.4 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.6987, allocations: 17.34 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.6987, allocations: 0 / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.699, allocations: 142.3 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.498e-05/0.699, allocations: 24.7 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.6991, allocations: 43.48 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.6992, allocations: 67.08 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.6993, allocations: 2.844 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.6997, allocations: 171.5 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.6997, allocations: 34.55 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.876e-05/0.6998, allocations: 97.39 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.7003, allocations: 282.2 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7003, allocations: 0.5625 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7003, allocations: 4.188 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7003, allocations: 0 / 1.045 GB, free: 55.55 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.000591/0.7009, allocations: 477.8 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7009, allocations: 10.28 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.7011, allocations: 103.1 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.7013, allocations: 290.9 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.7013, allocations: 155.6 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.7013, allocations: 155.7 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.991e-05/0.7014, allocations: 105.9 kB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.7014, allocations: 80.97 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.7014, allocations: 155.8 kB / 1.047 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.7015, allocations: 152.5 kB / 1.047 GB, free: 53.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.7015, allocations: 154.5 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.7018, allocations: 0.4997 MB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.7018, allocations: 176.1 kB / 1.047 GB, free: 53.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.7018, allocations: 83.3 kB / 1.048 GB, free: 53.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.7019, allocations: 75.28 kB / 1.048 GB, free: 52.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.7019, allocations: 110.8 kB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.7019, allocations: 0 / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001518/0.702, allocations: 52.94 kB / 1.048 GB, free: 52.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.7021, allocations: 135.4 kB / 1.048 GB, free: 52.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.7024, allocations: 313.9 kB / 1.048 GB, free: 52.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.7024, allocations: 25.7 kB / 1.048 GB, free: 52.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.7025, allocations: 122 kB / 1.048 GB, free: 52.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.7025, allocations: 0 / 1.048 GB, free: 52.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.7025, allocations: 0 / 1.048 GB, free: 52.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.7026, allocations: 330.7 kB / 1.049 GB, free: 52.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.7026, allocations: 70.58 kB / 1.049 GB, free: 52.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.7027, allocations: 121.1 kB / 1.049 GB, free: 51.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.703, allocations: 207.7 kB / 1.049 GB, free: 51.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.703, allocations: 0 / 1.049 GB, free: 51.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003675/0.7033, allocations: 239.2 kB / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7034, allocations: 9.156 kB / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7034, allocations: 4.25 kB / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.7034, allocations: 0 / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.468e-06/0.7034, allocations: 3.922 kB / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7034, allocations: 6.344 kB / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.7035, allocations: 29.88 kB / 1.049 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.7036, allocations: 5.625 kB / 1.049 GB, free: 51.67 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.00016/0.7037, allocations: 230.2 kB / 1.05 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.7038, allocations: 122.6 kB / 1.05 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.7038, allocations: 118.2 kB / 1.05 GB, free: 51.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.7038, allocations: 180.7 kB / 1.05 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/0.7039, allocations: 181 kB / 1.05 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.7039, allocations: 178.6 kB / 1.05 GB, free: 50.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.7041, allocations: 455.1 kB / 1.051 GB, free: 50.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.7041, allocations: 103.1 kB / 1.051 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.7041, allocations: 109 kB / 1.051 GB, free: 50.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.868e-05/0.7042, allocations: 189.7 kB / 1.051 GB, free: 49.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.7042, allocations: 180.3 kB / 1.051 GB, free: 49.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.923e-05/0.7042, allocations: 187.5 kB / 1.051 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-05/0.7043, allocations: 180.2 kB / 1.052 GB, free: 49.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.957e-05/0.7043, allocations: 321.9 kB / 1.052 GB, free: 48.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.7044, allocations: 193.1 kB / 1.052 GB, free: 48.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.7045, allocations: 185 kB / 1.052 GB, free: 48.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.7046, allocations: 109.2 kB / 1.052 GB, free: 48.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.7046, allocations: 177 kB / 1.053 GB, free: 48.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.7046, allocations: 104.9 kB / 1.053 GB, free: 48.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001677/0.7048, allocations: 214.2 kB / 1.053 GB, free: 48.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7048, allocations: 0 / 1.053 GB, free: 48.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003282/0.7051, allocations: 64.91 kB / 1.053 GB, free: 48.04 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.0003025/0.7054, allocations: 276.4 kB / 1.053 GB, free: 47.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.7056, allocations: 108.7 kB / 1.053 GB, free: 47.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7056, allocations: 448 / 1.053 GB, free: 47.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.7056, allocations: 4 kB / 1.053 GB, free: 47.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.7059, allocations: 0.5242 MB / 1.054 GB, free: 47.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.7064, allocations: 442.5 kB / 1.054 GB, free: 46.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.7066, allocations: 0.741 MB / 1.055 GB, free: 46.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.319e-05/0.7066, allocations: 4.844 kB / 1.055 GB, free: 46.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.7066, allocations: 9.031 kB / 1.055 GB, free: 46.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7067, allocations: 0 / 1.055 GB, free: 46.25 MB / 0.698 GB Notification: Performance of Templates: time 0.005017/0.7117, allocations: 2.222 MB / 1.057 GB, free: 45.98 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)