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.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.001463/0.001463, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001629/0.001629, allocations: 189 kB / 22.23 MB, free: 5.137 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.521/1.521, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.884/2.884, allocations: 476.7 MB / 0.7646 GB, free: 9.906 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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_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 0.002111/0.002111, allocations: 63.89 kB / 1.109 GB, free: 6.355 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.245/1.247, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003076/1.25, allocations: 1.416 MB / 1.276 GB, free: 2.789 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.002718/1.253, allocations: 1.964 MB / 1.278 GB, free: 0.8203 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/1.253, allocations: 0 / 1.278 GB, free: 0.8203 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.001127/1.254, allocations: 389.9 kB / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.632e-05/1.254, allocations: 19.84 kB / 1.278 GB, free: 428 kB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 4.738e-06/1.254, allocations: 0 / 1.278 GB, free: 428 kB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002711/1.254, allocations: 131.1 kB / 1.278 GB, free: 296 kB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/1.254, allocations: 5.688 kB / 1.278 GB, free: 288 kB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/1.254, allocations: 39.86 kB / 1.278 GB, free: 248 kB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/1.254, allocations: 67.7 kB / 1.278 GB, free: 180 kB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.906e-05/1.254, allocations: 4 kB / 1.278 GB, free: 176 kB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/1.255, allocations: 183.9 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 5.773e-05/1.255, allocations: 35.77 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 9.991e-05/1.255, allocations: 75.61 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004748/1.256, allocations: 281.1 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.256, allocations: 3.984 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 3.887e-06/1.256, allocations: 4 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 6.843e-06/1.256, allocations: 3.938 kB / 1.279 GB, free: 15.6 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.0008442/1.256, allocations: 429.1 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.256, allocations: 11.98 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/1.257, allocations: 96.12 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/1.257, allocations: 237.1 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/1.257, allocations: 150.9 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/1.257, allocations: 162.9 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/1.257, allocations: 105.1 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/1.257, allocations: 79.28 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/1.257, allocations: 154.5 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-05/1.257, allocations: 154.6 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/1.257, allocations: 150.6 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/1.258, allocations: 488.8 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.258, allocations: 165.1 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/1.258, allocations: 84.19 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/1.258, allocations: 79.22 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/1.258, allocations: 117.8 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=0): time 9.11e-07/1.258, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=0): time 0.0002003/1.258, allocations: 57.55 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/1.258, allocations: 126.7 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/1.259, allocations: 321.7 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 1.816e-05/1.259, allocations: 25.7 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/1.259, allocations: 116.5 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/1.259, allocations: 11.94 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/1.259, allocations: 57.69 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001668/1.259, allocations: 334.8 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/1.259, allocations: 59.95 kB / 1.282 GB, free: 11.72 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/1.259, allocations: 118 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/1.26, allocations: 209.9 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.26, allocations: 0 / 1.283 GB, free: 11.36 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004473/1.26, allocations: 237.2 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.26, allocations: 6.188 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.26, allocations: 4 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.26, allocations: 0 / 1.283 GB, free: 11.11 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/1.26, allocations: 7.984 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.26, allocations: 8.062 kB / 1.283 GB, free: 11.1 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/1.26, allocations: 31.89 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/1.26, allocations: 4 kB / 1.283 GB, free: 11.06 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.0002815/1.26, allocations: 229 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/1.261, allocations: 120.8 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/1.261, allocations: 113.8 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.066e-05/1.261, allocations: 188.2 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.956e-05/1.261, allocations: 188.1 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.515e-05/1.261, allocations: 180.2 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/1.261, allocations: 420.2 kB / 1.284 GB, free: 9.555 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/1.261, allocations: 101 kB / 1.284 GB, free: 9.449 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/1.261, allocations: 108.9 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.898e-05/1.261, allocations: 184.3 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.691e-05/1.262, allocations: 184.2 kB / 1.285 GB, free: 8.961 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.577e-05/1.262, allocations: 180.2 kB / 1.285 GB, free: 8.777 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-05/1.262, allocations: 180.2 kB / 1.285 GB, free: 8.594 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/1.262, allocations: 323.7 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/1.262, allocations: 128.7 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.262, allocations: 184.3 kB / 1.286 GB, free: 7.934 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.262, allocations: 104.9 kB / 1.286 GB, free: 7.824 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/1.262, allocations: 176.3 kB / 1.286 GB, free: 7.645 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/1.262, allocations: 105 kB / 1.286 GB, free: 7.535 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0002285/1.263, allocations: 221.2 kB / 1.286 GB, free: 7.316 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/1.263, allocations: 0 / 1.286 GB, free: 7.316 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003851/1.263, allocations: 63.92 kB / 1.287 GB, free: 7.254 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.0003861/1.263, allocations: 278.6 kB / 1.287 GB, free: 6.973 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002052/1.264, allocations: 87.89 kB / 1.287 GB, free: 6.887 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.264, allocations: 0 / 1.287 GB, free: 6.887 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.203e-06/1.264, allocations: 0 / 1.287 GB, free: 6.887 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/1.264, allocations: 458.8 kB / 1.287 GB, free: 6.438 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/1.265, allocations: 401.7 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/1.265, allocations: 0.743 MB / 1.288 GB, free: 5.246 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 1.814e-05/1.265, allocations: 7.984 kB / 1.288 GB, free: 5.238 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/1.265, allocations: 11.44 kB / 1.288 GB, free: 5.227 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.81e-07/1.265, allocations: 0 / 1.288 GB, free: 5.227 MB / 0.9825 GB
Notification: Performance of Templates: time 0.006483/1.272, allocations: 2.313 MB / 1.291 GB, free: 2.918 MB / 0.9825 GB
"
[Timeout remaining time 299]
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: 10.078629173338413]