Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 207.9 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.269/3.269, allocations: 0.49 GB / 0.7959 GB, free: 35.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 65.33 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4074, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002939/0.4104, allocations: 1.426 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.4128, allocations: 1.752 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.4129, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.4139, allocations: 351.2 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.414, allocations: 19.84 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 1.446e-05/0.414, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.4142, allocations: 131.2 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.4143, allocations: 5.688 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.102e-05/0.4144, allocations: 43.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.4145, allocations: 67.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.4145, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.4149, allocations: 187.9 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.415, allocations: 27.91 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.415, allocations: 59.67 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.4155, allocations: 298.7 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4155, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4155, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.4155, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 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.0007893/0.4163, allocations: 425.2 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.4163, allocations: 8.031 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.4165, allocations: 100.1 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.4168, allocations: 233 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-05/0.4168, allocations: 154.9 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.4169, allocations: 154.9 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.417, allocations: 113.1 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.4171, allocations: 75.28 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.4172, allocations: 150.6 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.144e-05/0.4172, allocations: 158.5 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.4173, allocations: 150.6 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.4177, allocations: 469.4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.4178, allocations: 165.1 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.4179, allocations: 80.14 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.4179, allocations: 83.16 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/0.418, allocations: 109.8 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.418, allocations: 0 / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.000174/0.4181, allocations: 53.53 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.4182, allocations: 130.7 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.4186, allocations: 325.6 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4186, allocations: 25.7 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.4187, allocations: 120.5 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.4187, allocations: 0 / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.4188, allocations: 61.69 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4189, allocations: 338.8 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.419, allocations: 63.95 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4191, allocations: 114 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.4194, allocations: 205.9 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4194, allocations: 0 / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004395/0.4198, allocations: 237.5 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.4198, allocations: 15.97 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.4199, allocations: 0 / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4199, allocations: 7.984 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-06/0.4199, allocations: 0 / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4199, allocations: 4 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.42, allocations: 27.73 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.42, allocations: 4 kB / 1.335 GB, free: 8.121 MB / 1.029 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.0002156/0.4202, allocations: 225.5 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.4203, allocations: 120.8 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.4204, allocations: 121.7 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.098e-05/0.4205, allocations: 184.2 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.304e-05/0.4205, allocations: 176.3 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.573e-05/0.4206, allocations: 184.2 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.4209, allocations: 396.8 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.434e-05/0.421, allocations: 101 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.421, allocations: 108.9 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.4211, allocations: 184.3 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/0.4212, allocations: 188.1 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-05/0.4213, allocations: 180.3 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.287e-05/0.4214, allocations: 176.3 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.4216, allocations: 331.6 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4217, allocations: 116.8 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.4218, allocations: 184.2 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.4219, allocations: 109 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.422, allocations: 180.2 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.4221, allocations: 105.3 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002233/0.4223, allocations: 217.1 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4223, allocations: 0 / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000366/0.4227, allocations: 67.88 kB / 1.339 GB, free: 4.352 MB / 1.029 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.0003774/0.423, allocations: 282.4 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.4232, allocations: 87.83 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4232, allocations: 0 / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.4232, allocations: 448 / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.4237, allocations: 464.2 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.4243, allocations: 391 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.4244, allocations: 138.6 kB / 1.34 GB, free: 2.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.071e-05/0.4244, allocations: 0 / 1.34 GB, free: 2.961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.4245, allocations: 15.38 kB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4245, allocations: 0 / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of Templates: time 0.006094/0.4305, allocations: 2.501 MB / 1.343 GB, free: 476 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.123388265012181]