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.0008067/0.0008067, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001185/0.001185, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8657/0.8657, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.626/1.626, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.952e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001661/0.001681, allocations: 1.415 MB / 0.9531 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.003148, allocations: 1.759 MB / 0.9548 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.003179, allocations: 0 / 0.9548 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.003995, allocations: 361.8 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.004033, allocations: 15.91 kB / 0.9552 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.004037, allocations: 0 / 0.9552 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.004226, allocations: 135 kB / 0.9553 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.004274, allocations: 9.672 kB / 0.9553 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.004344, allocations: 67.81 kB / 0.9554 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.00444, allocations: 51.83 kB / 0.9554 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004457, allocations: 4 kB / 0.9554 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.004732, allocations: 175.9 kB / 0.9556 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.004778, allocations: 35.84 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.004829, allocations: 43.88 kB / 0.9557 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.005138, allocations: 306.8 kB / 0.956 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005139, allocations: 0 / 0.956 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005141, allocations: 0 / 0.956 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005145, allocations: 0 / 0.956 GB, free: 14.66 MB / 0.9167 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.0004983/0.005643, allocations: 425.1 kB / 0.9564 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005679, allocations: 12.03 kB / 0.9564 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.005774, allocations: 92.12 kB / 0.9565 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.005931, allocations: 232.4 kB / 0.9567 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.005971, allocations: 154.9 kB / 0.9568 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.006009, allocations: 154.9 kB / 0.957 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.281e-05/0.006062, allocations: 105.5 kB / 0.9571 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.006083, allocations: 79.47 kB / 0.9572 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.006123, allocations: 154.7 kB / 0.9573 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.006162, allocations: 150.6 kB / 0.9574 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.006201, allocations: 154.6 kB / 0.9576 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.006441, allocations: 465.4 kB / 0.958 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.756e-05/0.006519, allocations: 177.1 kB / 0.9582 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.006547, allocations: 80.14 kB / 0.9583 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.006573, allocations: 75.28 kB / 0.9584 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.006607, allocations: 113.8 kB / 0.9585 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.006608, allocations: 0 / 0.9585 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 0.0001094/0.006717, allocations: 49.55 kB / 0.9585 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.006768, allocations: 134.6 kB / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.006992, allocations: 325.6 kB / 0.9589 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.007003, allocations: 25.7 kB / 0.959 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.007057, allocations: 116.6 kB / 0.9591 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.007059, allocations: 0 / 0.9591 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.007107, allocations: 57.69 kB / 0.9591 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.007204, allocations: 334.8 kB / 0.9595 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.007263, allocations: 63.95 kB / 0.9595 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.007343, allocations: 125.7 kB / 0.9596 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.007501, allocations: 213.8 kB / 0.9598 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007504, allocations: 0 / 0.9598 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000272/0.007776, allocations: 229.3 kB / 0.9601 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.007787, allocations: 4 kB / 0.9601 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.007795, allocations: 4.219 kB / 0.9601 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.007807, allocations: 4 kB / 0.9601 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-06/0.007812, allocations: 11.92 kB / 0.9601 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.007818, allocations: 0 / 0.9601 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.007905, allocations: 27.73 kB / 0.9601 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.007917, allocations: 11.94 kB / 0.9601 GB, free: 10.17 MB / 0.9167 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.0001687/0.008086, allocations: 229 kB / 0.9603 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.008151, allocations: 112.9 kB / 0.9604 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.008192, allocations: 113.7 kB / 0.9606 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-05/0.008234, allocations: 184.3 kB / 0.9607 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.411e-05/0.008278, allocations: 188.2 kB / 0.9609 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/0.008321, allocations: 184.2 kB / 0.9611 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.008487, allocations: 404.8 kB / 0.9615 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/0.00851, allocations: 104.9 kB / 0.9616 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.008533, allocations: 101 kB / 0.9617 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.04e-05/0.008574, allocations: 184.2 kB / 0.9618 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.008616, allocations: 184.2 kB / 0.962 GB, free: 8.105 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.882e-05/0.008654, allocations: 176.3 kB / 0.9622 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.304e-05/0.008697, allocations: 184.4 kB / 0.9624 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.008802, allocations: 331.6 kB / 0.9627 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.008848, allocations: 120.8 kB / 0.9628 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.0089, allocations: 180.3 kB / 0.963 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.008973, allocations: 108.9 kB / 0.9631 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.009021, allocations: 188.2 kB / 0.9633 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.009046, allocations: 108.9 kB / 0.9634 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001283/0.009174, allocations: 217.2 kB / 0.9636 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009174, allocations: 0 / 0.9636 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002432/0.009417, allocations: 63.94 kB / 0.9636 GB, free: 6.391 MB / 0.9167 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.0002445/0.009662, allocations: 274.4 kB / 0.9639 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.009785, allocations: 83.83 kB / 0.964 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009787, allocations: 0 / 0.964 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.009787, allocations: 0 / 0.964 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01004, allocations: 460.2 kB / 0.9644 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.01044, allocations: 420.1 kB / 0.9648 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.01051, allocations: 122.9 kB / 0.9649 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.01053, allocations: 12.48 kB / 0.9649 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/0.01053, allocations: 0 / 0.9649 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of Templates: time 0.002822/0.01335, allocations: 2.436 MB / 0.9673 GB, free: 2.547 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.485929526388645]