Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001722/0.001722, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002426/0.002426, allocations: 213.4 kB / 22.25 MB, free: 4.855 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.736/1.736, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.722/3.722, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_med,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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [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.002135/0.002135, allocations: 64.03 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4968, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003005/0.4998, allocations: 1.415 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.5036, allocations: 2.414 MB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.5037, allocations: 0 / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.5055, allocations: 0.534 MB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.5056, allocations: 23.91 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.659e-06/0.5056, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.5059, allocations: 162.9 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.506, allocations: 20.52 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.5061, allocations: 59.72 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.5062, allocations: 75.59 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.5062, allocations: 7.984 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.5073, allocations: 403.5 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.5073, allocations: 35.78 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.5074, allocations: 79.55 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.5081, allocations: 438 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5081, allocations: 0 / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5081, allocations: 0 / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.5081, allocations: 4 kB / 1.369 GB, free: 7.93 MB / 1.061 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.0008991/0.509, allocations: 480.8 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5091, allocations: 8.031 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.5093, allocations: 112 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.5096, allocations: 256.4 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.694e-05/0.5097, allocations: 154.9 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.5098, allocations: 154.9 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.402e-05/0.5099, allocations: 101.5 kB / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.5099, allocations: 79.47 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.51, allocations: 154.5 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.741e-05/0.5101, allocations: 154.6 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.5102, allocations: 154.5 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.5107, allocations: 493.3 kB / 1.372 GB, free: 5.578 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.5108, allocations: 173.1 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.5109, allocations: 80.14 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.5109, allocations: 75.28 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.754e-05/0.511, allocations: 113.9 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.511, allocations: 0 / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0002031/0.5112, allocations: 61.39 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.5113, allocations: 130.7 kB / 1.372 GB, free: 4.914 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.5118, allocations: 429.3 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5119, allocations: 25.7 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.512, allocations: 148.5 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.512, allocations: 0 / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5121, allocations: 85.67 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.5123, allocations: 342.8 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.5124, allocations: 96.59 kB / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.5127, allocations: 177.8 kB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.5131, allocations: 301.7 kB / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5131, allocations: 0 / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005572/0.5137, allocations: 337 kB / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5137, allocations: 4 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5137, allocations: 3.984 kB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.5137, allocations: 7.938 kB / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.5137, allocations: 0 / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5137, allocations: 4.078 kB / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.5139, allocations: 39.56 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.5139, allocations: 12.2 kB / 1.374 GB, free: 2.859 MB / 1.061 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.0002943/0.5142, allocations: 241.1 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.5143, allocations: 132.7 kB / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.233e-05/0.5144, allocations: 114.9 kB / 1.375 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001679/0.5145, allocations: 188.1 kB / 1.375 GB, free: 2.168 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.469e-05/0.5146, allocations: 180.3 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.102e-05/0.5147, allocations: 180.2 kB / 1.375 GB, free: 1.801 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.5151, allocations: 428.7 kB / 1.375 GB, free: 1.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-05/0.5152, allocations: 101 kB / 1.376 GB, free: 1.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.5152, allocations: 112.9 kB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.482e-05/0.5153, allocations: 176.3 kB / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.216e-05/0.5154, allocations: 180.2 kB / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000166/0.5156, allocations: 184.2 kB / 1.376 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001028/0.5157, allocations: 180.4 kB / 1.376 GB, free: 396 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.5159, allocations: 335.6 kB / 1.377 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5161, allocations: 132.7 kB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5162, allocations: 176.3 kB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.5163, allocations: 109 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5164, allocations: 188.1 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.5165, allocations: 101 kB / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003154/0.5168, allocations: 283.1 kB / 1.378 GB, free: 15.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.5168, allocations: 0 / 1.378 GB, free: 15.03 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004204/0.5172, allocations: 79.94 kB / 1.378 GB, free: 14.95 MB / 1.076 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.0004444/0.5177, allocations: 304.8 kB / 1.378 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.5179, allocations: 123.8 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5179, allocations: 0 / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.5179, allocations: 0 / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.5184, allocations: 465.1 kB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.5193, allocations: 0.5032 MB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.5195, allocations: 172.1 kB / 1.379 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.358e-05/0.5195, allocations: 0 / 1.379 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.5195, allocations: 11.44 kB / 1.379 GB, free: 13.34 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.5195, allocations: 4 kB / 1.379 GB, free: 13.33 MB / 1.076 GB Notification: Performance of Templates: time 0.008871/0.5284, allocations: 3.327 MB / 1.382 GB, free: 10.04 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.71216294541955]