Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002583/0.002584, allocations: 192.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.044/3.044, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 71.88 kB / 0.8692 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7745, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00337/0.7779, allocations: 1.417 MB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003741/0.7817, allocations: 2.67 MB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.7817, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.7832, allocations: 0.582 MB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.7832, allocations: 15.91 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.545e-06/0.7833, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.7835, allocations: 166.9 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.7836, allocations: 32.39 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.7836, allocations: 59.73 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.7837, allocations: 79.59 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.7838, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.7848, allocations: 471.3 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.7849, allocations: 35.78 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.785, allocations: 99.41 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007608/0.7858, allocations: 434.2 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7858, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.01e-07/0.7858, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.7858, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 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.0008543/0.7867, allocations: 0.5529 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.7867, allocations: 11.98 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.787, allocations: 103.8 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.7873, allocations: 302.3 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.762e-05/0.7875, allocations: 150.9 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.7876, allocations: 158.8 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.7877, allocations: 109.5 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.866e-05/0.7877, allocations: 79.47 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.7878, allocations: 154.5 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.249e-05/0.7879, allocations: 150.6 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.788, allocations: 150.6 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.7884, allocations: 0.5328 MB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.7885, allocations: 173.1 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.7886, allocations: 84.19 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.7886, allocations: 75.28 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.7888, allocations: 105.8 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7888, allocations: 0 / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001901/0.789, allocations: 73.19 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.7891, allocations: 126.7 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.7896, allocations: 433.2 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.7897, allocations: 29.7 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.7898, allocations: 128.6 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.7898, allocations: 0 / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.7899, allocations: 89.66 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.7901, allocations: 346.8 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.7902, allocations: 96.5 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.7905, allocations: 161.3 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.7908, allocations: 309.5 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7908, allocations: 4 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005169/0.7914, allocations: 332.9 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.7914, allocations: 4 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7914, allocations: 7.938 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7914, allocations: 0 / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-06/0.7914, allocations: 7.938 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7914, allocations: 3.984 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.7916, allocations: 39.38 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.7916, allocations: 4 kB / 1.028 GB, free: 7.125 MB / 0.7794 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.0002798/0.7919, allocations: 245.3 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.792, allocations: 128.5 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.7921, allocations: 122.9 kB / 1.029 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.529e-05/0.7921, allocations: 176.3 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.293e-05/0.7922, allocations: 180.2 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-05/0.7923, allocations: 180.3 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.7927, allocations: 481.1 kB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-05/0.7927, allocations: 105 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.7928, allocations: 101 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-05/0.7929, allocations: 184.2 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.793, allocations: 184.2 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/0.7931, allocations: 188.2 kB / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001381/0.7932, allocations: 176.3 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.7935, allocations: 323.5 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.7936, allocations: 206 kB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.7938, allocations: 188.1 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.794, allocations: 109 kB / 1.031 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.7941, allocations: 188.2 kB / 1.031 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.7942, allocations: 101 kB / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003027/0.7945, allocations: 283.1 kB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7945, allocations: 0 / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004476/0.795, allocations: 80 kB / 1.032 GB, free: 3.059 MB / 0.7794 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.0005228/0.7955, allocations: 317.3 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.7957, allocations: 163.8 kB / 1.032 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7958, allocations: 0 / 1.032 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.7958, allocations: 7.922 kB / 1.032 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.7962, allocations: 461.6 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.7969, allocations: 498.9 kB / 1.033 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.7973, allocations: 0.7801 MB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.7973, allocations: 4 kB / 1.034 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.7973, allocations: 7.438 kB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7973, allocations: 0 / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of Templates: time 0.007153/0.8045, allocations: 3.072 MB / 1.037 GB, free: 13.73 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches