Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0006834/0.0006834, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.00175, 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.0006728/0.0006728, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008611/0.001534, 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.9064/0.9064, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09556/1.002, allocations: 53.66 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.808/1.808, allocations: 378.3 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4839/2.292, allocations: 123.3 MB / 0.7283 GB, free: 5.758 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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_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.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7296 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.01e-05, allocations: 5.234 kB / 0.7296 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001826/0.001846, allocations: 1.532 MB / 0.7311 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.003988, allocations: 2.678 MB / 0.7337 GB, free: 320 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.004013, allocations: 0 / 0.7337 GB, free: 320 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.005016, allocations: 0.5614 MB / 0.7343 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.005057, allocations: 28.59 kB / 0.7343 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.00506, allocations: 0.9688 kB / 0.7343 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.005235, allocations: 174.8 kB / 0.7345 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.005276, allocations: 18.5 kB / 0.7345 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.005369, allocations: 89.53 kB / 0.7346 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.665e-05/0.005466, allocations: 63.83 kB / 0.7346 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.005478, allocations: 4 kB / 0.7346 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.00606, allocations: 414.8 kB / 0.735 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.006106, allocations: 36.45 kB / 0.7351 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.006168, allocations: 52.41 kB / 0.7351 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.006546, allocations: 406.2 kB / 0.7355 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.006553, allocations: 1.031 kB / 0.7355 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.252e-06/0.006555, allocations: 0 / 0.7355 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.006563, allocations: 0 / 0.7355 GB, free: 14.49 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.0004973/0.00706, allocations: 0.5841 MB / 0.7361 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.469e-05/0.007085, allocations: 8.031 kB / 0.7361 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.007166, allocations: 88.2 kB / 0.7362 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.007283, allocations: 244.9 kB / 0.7364 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.007318, allocations: 154.9 kB / 0.7366 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.00736, allocations: 150.9 kB / 0.7367 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.483e-05/0.007405, allocations: 117.5 kB / 0.7368 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.007424, allocations: 76.69 kB / 0.7369 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.007457, allocations: 150.9 kB / 0.737 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.007501, allocations: 170.9 kB / 0.7372 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.007534, allocations: 159.3 kB / 0.7373 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.007685, allocations: 377.1 kB / 0.7377 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.00774, allocations: 169.6 kB / 0.7379 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.007759, allocations: 84.14 kB / 0.7379 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.007775, allocations: 76.03 kB / 0.738 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.00781, allocations: 106.6 kB / 0.7381 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.00781, allocations: 0 / 0.7381 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.327e-05/0.007904, allocations: 50.48 kB / 0.7382 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.007942, allocations: 126.7 kB / 0.7383 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.008135, allocations: 351 kB / 0.7386 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.008143, allocations: 27.08 kB / 0.7386 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.008188, allocations: 128.5 kB / 0.7388 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/0.008189, allocations: 0 / 0.7388 GB, free: 11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.008246, allocations: 90.83 kB / 0.7389 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.008326, allocations: 338.7 kB / 0.7392 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.008375, allocations: 55.47 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.008432, allocations: 93.88 kB / 0.7393 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.008569, allocations: 218.6 kB / 0.7395 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008571, allocations: 0 / 0.7395 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002491/0.00882, allocations: 254.4 kB / 0.7398 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.008832, allocations: 4 kB / 0.7398 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.00884, allocations: 4 kB / 0.7398 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.008849, allocations: 0.7188 kB / 0.7398 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.008852, allocations: 4 kB / 0.7398 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.008854, allocations: 2.75 kB / 0.7398 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.00893, allocations: 43.52 kB / 0.7398 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.008935, allocations: 7.984 kB / 0.7398 GB, free: 9.824 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 8.997e-05/0.009025, allocations: 203.8 kB / 0.74 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.009065, allocations: 109 kB / 0.7401 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.009102, allocations: 114.8 kB / 0.7402 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/0.009141, allocations: 187.1 kB / 0.7404 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/0.009181, allocations: 180.2 kB / 0.7406 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-05/0.009225, allocations: 188.2 kB / 0.7408 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.00937, allocations: 357.3 kB / 0.7411 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/0.009393, allocations: 101 kB / 0.7412 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.009418, allocations: 105 kB / 0.7413 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.009461, allocations: 132.8 kB / 0.7414 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.752e-05/0.009498, allocations: 180.2 kB / 0.7416 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.009537, allocations: 180.9 kB / 0.7418 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.934e-05/0.009576, allocations: 182.2 kB / 0.742 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.752e-05/0.009614, allocations: 180.2 kB / 0.7421 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/0.009712, allocations: 323.7 kB / 0.7424 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.009762, allocations: 176.3 kB / 0.7426 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.009824, allocations: 101 kB / 0.7427 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.009867, allocations: 184.2 kB / 0.7429 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.009887, allocations: 103.4 kB / 0.743 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.974e-05/0.009967, allocations: 124.7 kB / 0.7431 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.009967, allocations: 0 / 0.7431 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000223/0.01019, allocations: 83.92 kB / 0.7432 GB, free: 6.238 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.0002571/0.01045, allocations: 307.7 kB / 0.7435 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.68e-05/0.01054, allocations: 87.2 kB / 0.7435 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.01055, allocations: 5.5 kB / 0.7436 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.01055, allocations: 0 / 0.7436 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01077, allocations: 493.1 kB / 0.744 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.0126, allocations: 453.9 kB / 0.7445 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.01264, allocations: 93.97 kB / 0.7445 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.305e-06/0.01265, allocations: 0.5 kB / 0.7445 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.01269, allocations: 56.03 kB / 0.7446 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/0.01269, allocations: 0 / 0.7446 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of Templates: time 0.005602/0.0183, allocations: 4.345 MB / 0.7488 GB, free: 0.5156 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.72808737680316]