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.001003/0.001003, allocations: 76.5 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.001061/0.001061, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.8893/0.8893, allocations: 177.2 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.82/1.82, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.634e-05, allocations: 6.219 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002353/0.002379, allocations: 1.407 MB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.004248, allocations: 1.753 MB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.004278, allocations: 0 / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009267/0.005205, allocations: 363.9 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.00525, allocations: 19.91 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.971e-06/0.005256, allocations: 3.938 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.005466, allocations: 127.1 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.005517, allocations: 13.67 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.005597, allocations: 63.8 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.005706, allocations: 47.91 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.005724, allocations: 7.984 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.006052, allocations: 179.8 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.0061, allocations: 27.91 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.00616, allocations: 47.86 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.006568, allocations: 302.8 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00657, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006571, allocations: 4 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.006575, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 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.0006907/0.007266, allocations: 421.2 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.007303, allocations: 12.03 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.007436, allocations: 96.08 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.007614, allocations: 232.4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.007659, allocations: 154.9 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.007706, allocations: 158.9 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.332e-05/0.007759, allocations: 101.5 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.007785, allocations: 83.47 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.007827, allocations: 154.7 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.007864, allocations: 154.5 kB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.007906, allocations: 154.5 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.008199, allocations: 465.4 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/0.00827, allocations: 169.1 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.008297, allocations: 80.14 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.008321, allocations: 79.22 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.008358, allocations: 113.8 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.008359, allocations: 0 / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 0.000154/0.008513, allocations: 49.59 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.00856, allocations: 134.6 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.008855, allocations: 321.7 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.008869, allocations: 29.7 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.008933, allocations: 116.5 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.008936, allocations: 0 / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.009003, allocations: 57.69 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.009107, allocations: 338.8 kB / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.009191, allocations: 63.95 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.009296, allocations: 117.7 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.009513, allocations: 209.9 kB / 1.009 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009515, allocations: 8 kB / 1.009 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003812/0.009896, allocations: 233.3 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.009912, allocations: 4 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.009922, allocations: 7.984 kB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.009936, allocations: 0 / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-06/0.009939, allocations: 7.938 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.009944, allocations: 0 / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.01005, allocations: 31.67 kB / 1.009 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.01006, allocations: 4 kB / 1.009 GB, free: 4.168 MB / 0.9636 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.0001474/0.01021, allocations: 233.2 kB / 1.009 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.01027, allocations: 116.8 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.01031, allocations: 121.6 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.742e-05/0.01036, allocations: 188.2 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-05/0.01041, allocations: 184.2 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.625e-05/0.01046, allocations: 180.2 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.01066, allocations: 400.8 kB / 1.011 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/0.01069, allocations: 101 kB / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.01072, allocations: 108.9 kB / 1.011 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.665e-05/0.01076, allocations: 180.3 kB / 1.011 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.01081, allocations: 184.2 kB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.806e-05/0.01086, allocations: 180.3 kB / 1.011 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.602e-05/0.01091, allocations: 176.5 kB / 1.012 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.01102, allocations: 331.6 kB / 1.012 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.01108, allocations: 124.8 kB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.01115, allocations: 176.3 kB / 1.012 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.01132, allocations: 105 kB / 1.012 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.01137, allocations: 188.1 kB / 1.012 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.0114, allocations: 105 kB / 1.013 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001786/0.01158, allocations: 217.2 kB / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01158, allocations: 0 / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000353/0.01194, allocations: 63.94 kB / 1.013 GB, free: 408 kB / 0.9636 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.00029/0.01223, allocations: 278.4 kB / 1.013 GB, free: 120 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01238, allocations: 88.2 kB / 1.013 GB, free: 32 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01238, allocations: 4.062 kB / 1.013 GB, free: 28 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.01238, allocations: 0 / 1.013 GB, free: 28 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.01279, allocations: 460.2 kB / 1.014 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.01323, allocations: 415.6 kB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.914e-05/0.01333, allocations: 137.6 kB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.01335, allocations: 8.5 kB / 1.014 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.01335, allocations: 7.938 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of Templates: time 0.003623/0.01698, allocations: 2.431 MB / 1.016 GB, free: 12.54 MB / 0.9792 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: 6.4923348082229495]