Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001724/0.001724, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002856/0.002856, allocations: 212.6 kB / 22.24 MB, free: 5.238 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.747/1.747, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.104/3.104, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002281/0.002281, allocations: 73.33 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5069, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004028/0.5109, allocations: 1.419 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.5139, allocations: 1.762 MB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.514, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.5153, allocations: 354 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.77e-05/0.5154, allocations: 19.91 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.185e-06/0.5154, allocations: 3.938 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.5158, allocations: 115.2 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.5159, allocations: 9.672 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.516, allocations: 51.78 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.5162, allocations: 63.7 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.5162, allocations: 4 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.5167, allocations: 175.9 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.5168, allocations: 31.84 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.977e-05/0.5169, allocations: 67.59 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.5174, allocations: 290.7 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5174, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.975e-06/0.5174, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5174, allocations: 3.938 kB / 1.287 GB, free: 7.66 MB / 0.9825 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.001014/0.5185, allocations: 417.3 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.5185, allocations: 12.02 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.5187, allocations: 100.1 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.519, allocations: 229.1 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.5191, allocations: 158.9 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.5192, allocations: 154.9 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.5193, allocations: 112.9 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.5194, allocations: 75.28 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/0.5195, allocations: 150.6 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.474e-05/0.5195, allocations: 150.6 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.5196, allocations: 150.6 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.5201, allocations: 469.4 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.5203, allocations: 177.1 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.5203, allocations: 80.14 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.5204, allocations: 75.28 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.142e-05/0.5205, allocations: 113.8 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.5205, allocations: 0 / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0002036/0.5207, allocations: 49.48 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.5208, allocations: 134.7 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.5212, allocations: 321.6 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.5212, allocations: 25.7 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.5213, allocations: 128.4 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.5213, allocations: 0 / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.5214, allocations: 61.69 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5216, allocations: 326.8 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.5217, allocations: 63.95 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.5219, allocations: 118 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.5222, allocations: 213.8 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5222, allocations: 0 / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005039/0.5227, allocations: 233.4 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5227, allocations: 11.94 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5228, allocations: 224 / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.5228, allocations: 8 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-06/0.5228, allocations: 3.938 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.5228, allocations: 4 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.5229, allocations: 23.73 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.5229, allocations: 11.92 kB / 1.291 GB, free: 3.168 MB / 0.9825 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.0003099/0.5232, allocations: 221.1 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5234, allocations: 132.7 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.5234, allocations: 113.8 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/0.5236, allocations: 176.3 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001359/0.5237, allocations: 184.2 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/0.5238, allocations: 184.2 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.5241, allocations: 400.8 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-05/0.5242, allocations: 101 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.5243, allocations: 105 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.5244, allocations: 180.2 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.5245, allocations: 184.2 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-05/0.5246, allocations: 188.2 kB / 1.293 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001278/0.5247, allocations: 180.3 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.525, allocations: 319.7 kB / 1.294 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5251, allocations: 128.8 kB / 1.294 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.5252, allocations: 184.1 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.5254, allocations: 108.9 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5255, allocations: 176.3 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.689e-05/0.5256, allocations: 112.9 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002316/0.5258, allocations: 209.2 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.5258, allocations: 0 / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004424/0.5263, allocations: 71.86 kB / 1.295 GB, free: 15.4 MB / 0.9981 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.0004968/0.5268, allocations: 270.8 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.527, allocations: 79.89 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.527, allocations: 0 / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-06/0.527, allocations: 4 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.5276, allocations: 464.1 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.5283, allocations: 389.9 kB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.5284, allocations: 134.8 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.5284, allocations: 0 / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.5285, allocations: 11.44 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.5285, allocations: 0 / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of Templates: time 0.006979/0.5354, allocations: 2.492 MB / 1.299 GB, free: 11.55 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.76049492880702]