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_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.733/1.733, allocations: 306.1 MB / 321.4 MB, free: 10.69 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.001012/0.001012, allocations: 184.2 kB / 393.1 MB, free: 4.066 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.534/1.534, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.001184/0.001184, allocations: 89.41 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.000504, allocations: 12 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.6687, allocations: 121.3 MB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001671/0.6704, allocations: 1.132 MB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.6731, allocations: 2.782 MB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.6732, allocations: 0 / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.6745, allocations: 0.5567 MB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.6746, allocations: 14.7 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.847e-06/0.6746, allocations: 2.125 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.6749, allocations: 176.4 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.675, allocations: 32.7 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.675, allocations: 53.91 kB / 1.046 GB, free: 55.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.6752, allocations: 81.77 kB / 1.046 GB, free: 55.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.6752, allocations: 3.125 kB / 1.046 GB, free: 55.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.6762, allocations: 484.4 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.6763, allocations: 34.62 kB / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.6764, allocations: 129.2 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.677, allocations: 390.5 kB / 1.047 GB, free: 54.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.677, allocations: 1.594 kB / 1.047 GB, free: 54.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.677, allocations: 0.5625 kB / 1.047 GB, free: 54.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.677, allocations: 3.938 kB / 1.047 GB, free: 54.73 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.0006705/0.6777, allocations: 0.5283 MB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.6777, allocations: 8.938 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.6779, allocations: 101 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.6781, allocations: 305.3 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.6781, allocations: 150.9 kB / 1.048 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.6782, allocations: 158.9 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.821e-05/0.6782, allocations: 111.1 kB / 1.048 GB, free: 53.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.6782, allocations: 75.47 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.6783, allocations: 154.5 kB / 1.048 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.6783, allocations: 151.6 kB / 1.048 GB, free: 53.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.6783, allocations: 150.6 kB / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.6786, allocations: 0.5388 MB / 1.049 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.172e-05/0.6787, allocations: 173.3 kB / 1.049 GB, free: 52.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.6787, allocations: 80.14 kB / 1.049 GB, free: 52.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.6787, allocations: 81.16 kB / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.6788, allocations: 117.8 kB / 1.049 GB, free: 51.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.6788, allocations: 0 / 1.049 GB, free: 51.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001596/0.6789, allocations: 56.14 kB / 1.049 GB, free: 51.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.679, allocations: 128.4 kB / 1.05 GB, free: 51.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.6794, allocations: 431.3 kB / 1.05 GB, free: 51.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.6794, allocations: 25.7 kB / 1.05 GB, free: 51.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.6795, allocations: 133.1 kB / 1.05 GB, free: 51.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.6795, allocations: 0 / 1.05 GB, free: 51.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.6795, allocations: 8 kB / 1.05 GB, free: 51.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.6796, allocations: 335.9 kB / 1.05 GB, free: 51.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.6797, allocations: 100.1 kB / 1.051 GB, free: 51.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.6798, allocations: 163.2 kB / 1.051 GB, free: 50.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.6802, allocations: 309.7 kB / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6802, allocations: 0 / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004507/0.6806, allocations: 323.3 kB / 1.051 GB, free: 50.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6807, allocations: 5.094 kB / 1.051 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6807, allocations: 5.969 kB / 1.051 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6807, allocations: 2.688 kB / 1.051 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.6807, allocations: 3.594 kB / 1.051 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.6807, allocations: 7.438 kB / 1.051 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.6809, allocations: 44.78 kB / 1.051 GB, free: 50.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.6809, allocations: 11.16 kB / 1.051 GB, free: 50.59 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.0001838/0.6811, allocations: 240.9 kB / 1.052 GB, free: 50.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.6811, allocations: 126.2 kB / 1.052 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.6812, allocations: 121.2 kB / 1.052 GB, free: 50.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.6812, allocations: 177.9 kB / 1.052 GB, free: 49.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/0.6812, allocations: 185.2 kB / 1.052 GB, free: 49.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.279e-05/0.6813, allocations: 178.4 kB / 1.052 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.6815, allocations: 475.2 kB / 1.053 GB, free: 49.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.6815, allocations: 106.5 kB / 1.053 GB, free: 49.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.6816, allocations: 101 kB / 1.053 GB, free: 48.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.205e-05/0.6816, allocations: 185.4 kB / 1.053 GB, free: 48.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.6816, allocations: 187.2 kB / 1.053 GB, free: 48.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.368e-05/0.6817, allocations: 179.7 kB / 1.054 GB, free: 48.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-05/0.6817, allocations: 181.6 kB / 1.054 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.676e-05/0.6818, allocations: 332.7 kB / 1.054 GB, free: 47.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.6819, allocations: 204.3 kB / 1.054 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.682, allocations: 184 kB / 1.054 GB, free: 47.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.6821, allocations: 109.6 kB / 1.054 GB, free: 47.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.6821, allocations: 176.8 kB / 1.055 GB, free: 47.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.6821, allocations: 106.7 kB / 1.055 GB, free: 47.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002379/0.6824, allocations: 278.1 kB / 1.055 GB, free: 46.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6824, allocations: 4 kB / 1.055 GB, free: 46.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000384/0.6828, allocations: 82.17 kB / 1.055 GB, free: 46.9 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.0004204/0.6832, allocations: 303.6 kB / 1.055 GB, free: 46.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.6835, allocations: 157.8 kB / 1.056 GB, free: 46.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6835, allocations: 2.969 kB / 1.056 GB, free: 46.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.6835, allocations: 0 / 1.056 GB, free: 46.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.6839, allocations: 0.5287 MB / 1.056 GB, free: 46.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.6846, allocations: 0.5496 MB / 1.057 GB, free: 45.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.6849, allocations: 0.7815 MB / 1.057 GB, free: 45.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.6849, allocations: 0 / 1.057 GB, free: 45.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.685, allocations: 10.88 kB / 1.057 GB, free: 45.03 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.685, allocations: 0 / 1.057 GB, free: 45.03 MB / 0.698 GB Notification: Performance of Templates: time 0.006755/0.6917, allocations: 2.812 MB / 1.06 GB, free: 44.71 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)