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.0009029/0.0009029, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001988, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000691/0.000691, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002394/0.003085, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9673/0.9673, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09553/1.063, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.818/1.818, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5041/2.322, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+..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.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.839e-05, allocations: 4.703 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001944/0.001963, allocations: 1.509 MB / 0.7311 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.003704, allocations: 1.951 MB / 0.733 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.003737, allocations: 0.6875 kB / 0.733 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009705/0.004708, allocations: 371.1 kB / 0.7334 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.004752, allocations: 21.56 kB / 0.7334 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.416e-06/0.004755, allocations: 0 / 0.7334 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.004945, allocations: 135 kB / 0.7335 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.004992, allocations: 15.14 kB / 0.7335 GB, free: 0.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.005086, allocations: 67.81 kB / 0.7336 GB, free: 444 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.982e-05/0.005186, allocations: 52.39 kB / 0.7336 GB, free: 392 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.005201, allocations: 1.688 kB / 0.7336 GB, free: 392 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.005555, allocations: 187.8 kB / 0.7338 GB, free: 204 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.005606, allocations: 27.92 kB / 0.7338 GB, free: 176 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.005669, allocations: 40.75 kB / 0.7339 GB, free: 136 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.006014, allocations: 282.8 kB / 0.7342 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.006024, allocations: 1.062 kB / 0.7342 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.11e-07/0.006025, allocations: 0 / 0.7342 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.006038, allocations: 0 / 0.7342 GB, free: 15.86 MB / 0.7136 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.0006145/0.006652, allocations: 0.4984 MB / 0.7346 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.006685, allocations: 8.031 kB / 0.7346 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.006781, allocations: 88.2 kB / 0.7347 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.006912, allocations: 225.6 kB / 0.7349 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.006954, allocations: 154.9 kB / 0.7351 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.006999, allocations: 158.9 kB / 0.7352 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.891e-05/0.007048, allocations: 102.2 kB / 0.7353 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.007073, allocations: 75.47 kB / 0.7354 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.47e-05/0.007108, allocations: 159.8 kB / 0.7356 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.007147, allocations: 158.5 kB / 0.7357 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.007182, allocations: 158.5 kB / 0.7359 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.007339, allocations: 369.8 kB / 0.7362 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.975e-05/0.007398, allocations: 173.6 kB / 0.7364 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.007418, allocations: 80.14 kB / 0.7365 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.007435, allocations: 76.22 kB / 0.7365 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.007467, allocations: 105.8 kB / 0.7366 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.007467, allocations: 0.5312 kB / 0.7366 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.007568, allocations: 43.25 kB / 0.7367 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.007606, allocations: 130.6 kB / 0.7368 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.007771, allocations: 268.7 kB / 0.7371 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.007784, allocations: 33.7 kB / 0.7371 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.007825, allocations: 113.7 kB / 0.7372 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.007827, allocations: 0 / 0.7372 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.007874, allocations: 57.64 kB / 0.7373 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.007947, allocations: 330.8 kB / 0.7376 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.00799, allocations: 31.95 kB / 0.7376 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.008056, allocations: 73.97 kB / 0.7377 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.008172, allocations: 157.6 kB / 0.7378 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008174, allocations: 4.875 kB / 0.7378 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002254/0.008399, allocations: 177.3 kB / 0.738 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.008414, allocations: 6 kB / 0.738 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.008424, allocations: 7.984 kB / 0.738 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.008432, allocations: 0.75 kB / 0.738 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.016e-06/0.008435, allocations: 7.938 kB / 0.738 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.00844, allocations: 4.875 kB / 0.738 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.008512, allocations: 31.67 kB / 0.7381 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.008519, allocations: 5.375 kB / 0.7381 GB, free: 11.63 MB / 0.7136 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 9.112e-05/0.00861, allocations: 194.8 kB / 0.7382 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.008655, allocations: 118.2 kB / 0.7384 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.008695, allocations: 109.8 kB / 0.7385 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-05/0.008737, allocations: 184.3 kB / 0.7386 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-05/0.008784, allocations: 181.4 kB / 0.7388 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/0.008826, allocations: 188.2 kB / 0.739 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.00898, allocations: 353.3 kB / 0.7393 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/0.009003, allocations: 102.2 kB / 0.7394 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.009029, allocations: 101.1 kB / 0.7395 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.009075, allocations: 124.8 kB / 0.7396 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-05/0.009112, allocations: 184.2 kB / 0.7398 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.009149, allocations: 181.2 kB / 0.74 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.904e-05/0.009188, allocations: 180.3 kB / 0.7402 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-05/0.009227, allocations: 180.9 kB / 0.7403 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.144e-05/0.009319, allocations: 311.7 kB / 0.7406 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.009367, allocations: 186.9 kB / 0.7408 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.00943, allocations: 105 kB / 0.7409 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.009468, allocations: 180.2 kB / 0.7411 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.009489, allocations: 105 kB / 0.7412 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.009552, allocations: 86.75 kB / 0.7413 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009552, allocations: 0 / 0.7413 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002029/0.009755, allocations: 67.86 kB / 0.7413 GB, free: 8.117 MB / 0.7136 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.0004571/0.01021, allocations: 262.1 kB / 0.7416 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.01031, allocations: 64.62 kB / 0.7416 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01032, allocations: 5 kB / 0.7416 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.01032, allocations: 0 / 0.7416 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.01054, allocations: 480.8 kB / 0.7421 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.01227, allocations: 361.1 kB / 0.7424 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.01231, allocations: 80 kB / 0.7425 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.486e-06/0.01232, allocations: 3.938 kB / 0.7425 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.01236, allocations: 55.91 kB / 0.7426 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.01236, allocations: 0 / 0.7426 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.003983/0.01634, allocations: 2.824 MB / 0.7453 GB, free: 4.102 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.644456943497062]