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.001718/0.001718, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001894/0.001894, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.793 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.482/3.482, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.002237/0.002237, allocations: 68.59 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4952, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003745/0.499, allocations: 1.409 MB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003171/0.5021, allocations: 1.76 MB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.5022, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.504, allocations: 358 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.27e-05/0.5041, allocations: 15.91 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.202e-06/0.5041, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.5044, allocations: 131.1 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.5045, allocations: 5.688 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.5046, allocations: 43.86 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.5048, allocations: 63.7 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.5048, allocations: 8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006985/0.5055, allocations: 171.9 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.5056, allocations: 31.84 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.5057, allocations: 67.66 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.5064, allocations: 294.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5064, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.965e-06/0.5064, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.5064, allocations: 0 / 1.33 GB, free: 13.5 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.00103/0.5075, allocations: 422.3 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.5075, allocations: 11.97 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.5077, allocations: 100.1 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.508, allocations: 233.1 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.5082, allocations: 150.9 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.5083, allocations: 158.9 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.5084, allocations: 109.1 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.822e-05/0.5084, allocations: 75.28 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.939e-05/0.5085, allocations: 150.6 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.947e-05/0.5086, allocations: 154.6 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.5087, allocations: 158.5 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.5091, allocations: 465.4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.5093, allocations: 165.1 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.5094, allocations: 84.14 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.5095, allocations: 79.27 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.762e-05/0.5096, allocations: 109.8 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.5096, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0002374/0.5098, allocations: 57.47 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001913/0.51, allocations: 126.7 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.5105, allocations: 321.6 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.5105, allocations: 37.64 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.5106, allocations: 116.5 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/0.5107, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/0.5107, allocations: 57.69 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.511, allocations: 334.8 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.5111, allocations: 67.95 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.5112, allocations: 121.8 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.5116, allocations: 205.9 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.5116, allocations: 4 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005588/0.5121, allocations: 233.3 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5121, allocations: 7.938 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5121, allocations: 8.219 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5122, allocations: 3.984 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-06/0.5122, allocations: 4 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5122, allocations: 0 / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.5123, allocations: 27.73 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5123, allocations: 4 kB / 1.334 GB, free: 8.996 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.00037/0.5127, allocations: 221.6 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5128, allocations: 124.8 kB / 1.334 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.5129, allocations: 117.8 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001645/0.5131, allocations: 188.2 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.856e-05/0.5132, allocations: 180.3 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001261/0.5133, allocations: 176.3 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.5137, allocations: 400.8 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.914e-05/0.5138, allocations: 105 kB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.5138, allocations: 108.9 kB / 1.335 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-05/0.5139, allocations: 184.3 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.5141, allocations: 184.2 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-05/0.5142, allocations: 180.3 kB / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.215e-05/0.5142, allocations: 180.2 kB / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.5145, allocations: 327.6 kB / 1.336 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.5146, allocations: 116.9 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.5147, allocations: 188.1 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.5149, allocations: 105 kB / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.515, allocations: 188.2 kB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.5151, allocations: 101.3 kB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002617/0.5153, allocations: 217.2 kB / 1.337 GB, free: 5.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5153, allocations: 0 / 1.337 GB, free: 5.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004288/0.5158, allocations: 63.88 kB / 1.337 GB, free: 5.227 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.0004277/0.5162, allocations: 278.3 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.5164, allocations: 83.83 kB / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5164, allocations: 0 / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-06/0.5164, allocations: 7.938 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.5169, allocations: 456.6 kB / 1.338 GB, free: 4.406 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/0.5178, allocations: 405.5 kB / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.518, allocations: 130.6 kB / 1.339 GB, free: 3.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.518, allocations: 4 kB / 1.339 GB, free: 3.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.518, allocations: 7.438 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.518, allocations: 0 / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of Templates: time 0.007205/0.5252, allocations: 2.488 MB / 1.341 GB, free: 1.355 MB / 1.029 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 10.416214698925614]