Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002019/0.002019, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002472/0.002472, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.773/1.773, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.043/3.043, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.226e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002913/0.002946, allocations: 1.413 MB / 1.001 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.006083, allocations: 1.748 MB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.006126, allocations: 0 / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.007686, allocations: 364.1 kB / 1.004 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/0.007754, allocations: 19.91 kB / 1.004 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.436e-06/0.007762, allocations: 0 / 1.004 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.008206, allocations: 127.1 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.008307, allocations: 9.688 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.008463, allocations: 71.8 kB / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.008675, allocations: 43.89 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.008703, allocations: 7.938 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.009258, allocations: 179.8 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.009346, allocations: 31.84 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.009468, allocations: 43.92 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006972/0.01017, allocations: 306.8 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.01017, allocations: 0 / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.876e-06/0.01018, allocations: 4 kB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.01018, allocations: 0 / 1.004 GB, free: 2.941 MB / 0.9512 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.00127/0.01145, allocations: 421.2 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.5e-05/0.01153, allocations: 15.98 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.01175, allocations: 96.08 kB / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.01218, allocations: 236.3 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.01233, allocations: 162.9 kB / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.01247, allocations: 150.9 kB / 1.005 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.0126, allocations: 105.5 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.099e-05/0.01266, allocations: 83.47 kB / 1.006 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.01279, allocations: 154.7 kB / 1.006 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.01293, allocations: 150.6 kB / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.01305, allocations: 150.6 kB / 1.006 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.0137, allocations: 465.4 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.0139, allocations: 173.1 kB / 1.007 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.01398, allocations: 80.14 kB / 1.007 GB, free: 452 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-05/0.01405, allocations: 75.28 kB / 1.007 GB, free: 376 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.809e-05/0.01415, allocations: 113.8 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.01415, allocations: 0 / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0002304/0.01438, allocations: 45.61 kB / 1.007 GB, free: 200 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.01454, allocations: 138.6 kB / 1.007 GB, free: 48 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.01512, allocations: 317.6 kB / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.01518, allocations: 29.7 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.01533, allocations: 120.5 kB / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.01533, allocations: 0 / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.01544, allocations: 57.69 kB / 1.008 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002725/0.01571, allocations: 334.8 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.01586, allocations: 59.97 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.01608, allocations: 121.7 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.01645, allocations: 217.8 kB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01646, allocations: 7.938 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005543/0.01701, allocations: 229.4 kB / 1.008 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.01704, allocations: 4 kB / 1.008 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.01705, allocations: 4 kB / 1.008 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.01707, allocations: 0 / 1.008 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-06/0.01708, allocations: 7.938 kB / 1.008 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.01709, allocations: 3.984 kB / 1.008 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.01723, allocations: 31.67 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.01725, allocations: 4 kB / 1.009 GB, free: 14.45 MB / 0.9669 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.0003872/0.01763, allocations: 236.4 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.01773, allocations: 116.8 kB / 1.009 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.01784, allocations: 121.6 kB / 1.009 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001267/0.01797, allocations: 184.3 kB / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001394/0.01811, allocations: 184.2 kB / 1.009 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/0.01822, allocations: 180.2 kB / 1.009 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.01863, allocations: 400.8 kB / 1.01 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-05/0.01871, allocations: 104.9 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.01877, allocations: 105 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.01889, allocations: 184.2 kB / 1.01 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.01901, allocations: 188.2 kB / 1.01 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-05/0.01911, allocations: 176.3 kB / 1.011 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001183/0.01923, allocations: 184.2 kB / 1.011 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.01946, allocations: 319.8 kB / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.01958, allocations: 128.9 kB / 1.011 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.01972, allocations: 180.3 kB / 1.011 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.01987, allocations: 104.9 kB / 1.011 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.01999, allocations: 192.2 kB / 1.012 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.02006, allocations: 104.9 kB / 1.012 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002368/0.0203, allocations: 213.2 kB / 1.012 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0203, allocations: 0 / 1.012 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004458/0.02074, allocations: 71.92 kB / 1.012 GB, free: 10.66 MB / 0.9669 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.0004554/0.0212, allocations: 266.4 kB / 1.012 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.02143, allocations: 84.27 kB / 1.012 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02144, allocations: 4.062 kB / 1.012 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.02144, allocations: 3.938 kB / 1.012 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.02198, allocations: 462.4 kB / 1.013 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.0226, allocations: 393.8 kB / 1.013 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.02276, allocations: 134.9 kB / 1.013 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.209e-05/0.02278, allocations: 4 kB / 1.013 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.0228, allocations: 12.5 kB / 1.013 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.0228, allocations: 0 / 1.013 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of Templates: time 0.006952/0.02975, allocations: 2.289 MB / 1.016 GB, free: 7 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.434132657945156]