Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 204.5 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 75.86 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9612/0.9634, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003502/0.9669, allocations: 1.428 MB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004084/0.971, allocations: 2.719 MB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.971, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.9733, allocations: 0.5854 MB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.9734, allocations: 31.83 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.531e-06/0.9734, allocations: 0 / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.9737, allocations: 158.9 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.9738, allocations: 8.406 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.9739, allocations: 55.73 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.9742, allocations: 79.58 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.9742, allocations: 11.88 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.9759, allocations: 471.3 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.976, allocations: 31.84 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.9762, allocations: 99.36 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008092/0.977, allocations: 442 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.977, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.815e-06/0.977, allocations: 4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.977, allocations: 0 / 1.28 GB, free: 14.4 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.001076/0.9781, allocations: 0.5525 MB / 1.281 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.9782, allocations: 12.03 kB / 1.281 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.9784, allocations: 104 kB / 1.281 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.9787, allocations: 306.4 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.9788, allocations: 158.9 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.9789, allocations: 150.9 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.979, allocations: 105.5 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.58e-05/0.9791, allocations: 75.47 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.9791, allocations: 158.4 kB / 1.282 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.192e-05/0.9792, allocations: 158.6 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.493e-05/0.9793, allocations: 150.6 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.9798, allocations: 0.5328 MB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.98, allocations: 169.1 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.98, allocations: 80.14 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.9801, allocations: 87.2 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/0.9802, allocations: 105.8 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.9802, allocations: 3.938 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0002322/0.9804, allocations: 57.45 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/0.9805, allocations: 130.7 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.9811, allocations: 429.3 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.9811, allocations: 29.7 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.9812, allocations: 140.6 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.9812, allocations: 3.938 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.9813, allocations: 89.66 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.9815, allocations: 338.8 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.9817, allocations: 100.5 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.9819, allocations: 169.3 kB / 1.284 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.9823, allocations: 305.6 kB / 1.284 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9823, allocations: 0 / 1.284 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006113/0.9829, allocations: 329 kB / 1.285 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.9829, allocations: 4 kB / 1.285 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9829, allocations: 3.938 kB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.983, allocations: 8.219 kB / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-06/0.983, allocations: 7.984 kB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.983, allocations: 0 / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.9831, allocations: 43.52 kB / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.9831, allocations: 4 kB / 1.285 GB, free: 9.109 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.0003026/0.9834, allocations: 245 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.9835, allocations: 124.8 kB / 1.285 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.9836, allocations: 130.8 kB / 1.285 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.9837, allocations: 180.3 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.05e-05/0.9838, allocations: 176.3 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-05/0.9839, allocations: 184.2 kB / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.9843, allocations: 473.2 kB / 1.286 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.186e-05/0.9844, allocations: 112.9 kB / 1.286 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.9845, allocations: 105 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.179e-05/0.9845, allocations: 176.3 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/0.9846, allocations: 188.1 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.54e-05/0.9847, allocations: 180.3 kB / 1.287 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001115/0.9848, allocations: 180.2 kB / 1.287 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.985, allocations: 331.8 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.9852, allocations: 201.9 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.9853, allocations: 196.2 kB / 1.288 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.9855, allocations: 108.9 kB / 1.288 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.9856, allocations: 184.3 kB / 1.288 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.9857, allocations: 104.9 kB / 1.288 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003017/0.986, allocations: 283.1 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.986, allocations: 0 / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004572/0.9864, allocations: 91.8 kB / 1.289 GB, free: 5.016 MB / 0.9825 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.0004996/0.9869, allocations: 300.6 kB / 1.289 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.9872, allocations: 116.2 kB / 1.289 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9872, allocations: 4.062 kB / 1.289 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.9872, allocations: 0 / 1.289 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.9876, allocations: 465.1 kB / 1.289 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.9884, allocations: 0.5098 MB / 1.29 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.9888, allocations: 0.7704 MB / 1.291 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.501e-05/0.9888, allocations: 7.984 kB / 1.291 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.9889, allocations: 11.44 kB / 1.291 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.9889, allocations: 0 / 1.291 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of Templates: time 0.007666/0.9965, allocations: 3.091 MB / 1.294 GB, free: 15.7 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.267347946297377]