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.00181/0.00181, allocations: 110 kB / 18.93 MB, free: 2.945 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.002318/0.002318, allocations: 187.3 kB / 22.23 MB, free: 5.156 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.608/1.608, allocations: 225.6 MB / 251 MB, free: 13.02 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.955/2.955, allocations: 476.7 MB / 0.7646 GB, free: 9.91 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_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.001988/0.001988, allocations: 67.89 kB / 1.11 GB, free: 6.387 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 168.8 MB / 1.274 GB, free: 4.242 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003483/1.154, allocations: 1.435 MB / 1.276 GB, free: 2.801 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.004582/1.159, allocations: 2.707 MB / 1.278 GB, free: 88 kB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/1.159, allocations: 4 kB / 1.278 GB, free: 84 kB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.002315/1.161, allocations: 0.5865 MB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 6.956e-05/1.161, allocations: 19.84 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 4.588e-06/1.161, allocations: 4 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0003295/1.162, allocations: 158.9 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/1.162, allocations: 15.27 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000124/1.162, allocations: 63.72 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000249/1.162, allocations: 75.58 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 1.957e-05/1.162, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001541/1.164, allocations: 475.3 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 7.809e-05/1.164, allocations: 35.78 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001256/1.164, allocations: 95.36 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0009366/1.165, allocations: 446 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/1.165, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 2.785e-06/1.165, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.815e-05/1.165, allocations: 4 kB / 1.28 GB, free: 14.13 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.001173/1.166, allocations: 492.7 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/1.166, allocations: 15.98 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/1.166, allocations: 104 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/1.167, allocations: 240.6 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.435e-05/1.167, allocations: 158.9 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/1.167, allocations: 162.9 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/1.167, allocations: 101.5 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/1.167, allocations: 75.47 kB / 1.282 GB, free: 12.74 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/1.167, allocations: 158.5 kB / 1.282 GB, free: 12.58 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/1.167, allocations: 154.5 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/1.167, allocations: 154.6 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/1.168, allocations: 0.5085 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/1.168, allocations: 165.1 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/1.168, allocations: 80.14 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.1e-05/1.168, allocations: 83.22 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/1.168, allocations: 113.8 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=0): time 1.031e-06/1.168, allocations: 0 / 1.283 GB, free: 11.27 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=0): time 0.0002334/1.168, allocations: 61.44 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/1.168, allocations: 126.7 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/1.169, allocations: 437.3 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.169, allocations: 25.7 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.169, allocations: 136.6 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/1.169, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.169, allocations: 93.67 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001724/1.169, allocations: 342.7 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/1.17, allocations: 100.6 kB / 1.284 GB, free: 9.918 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/1.17, allocations: 157.9 kB / 1.284 GB, free: 9.742 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/1.17, allocations: 309.6 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.17, allocations: 0 / 1.285 GB, free: 9.418 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005579/1.171, allocations: 333 kB / 1.285 GB, free: 9.086 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.171, allocations: 4 kB / 1.285 GB, free: 9.082 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.171, allocations: 7.938 kB / 1.285 GB, free: 9.074 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.171, allocations: 0 / 1.285 GB, free: 9.074 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/1.171, allocations: 4.219 kB / 1.285 GB, free: 9.07 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.171, allocations: 4 kB / 1.285 GB, free: 9.066 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/1.171, allocations: 51.52 kB / 1.285 GB, free: 9.016 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/1.171, allocations: 4 kB / 1.285 GB, free: 9.012 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.000295/1.171, allocations: 245 kB / 1.285 GB, free: 8.762 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/1.172, allocations: 128.8 kB / 1.285 GB, free: 8.629 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/1.172, allocations: 118.8 kB / 1.285 GB, free: 8.504 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.951e-05/1.172, allocations: 180.3 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.713e-05/1.172, allocations: 180.2 kB / 1.286 GB, free: 8.137 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-05/1.172, allocations: 188.2 kB / 1.286 GB, free: 7.945 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/1.172, allocations: 440.2 kB / 1.286 GB, free: 7.465 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.803e-05/1.172, allocations: 104.9 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/1.172, allocations: 109 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.961e-05/1.173, allocations: 180.3 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-05/1.173, allocations: 184.1 kB / 1.287 GB, free: 6.871 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001062/1.173, allocations: 184.2 kB / 1.287 GB, free: 6.684 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001423/1.173, allocations: 180.2 kB / 1.287 GB, free: 6.5 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/1.173, allocations: 327.9 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.173, allocations: 132.7 kB / 1.288 GB, free: 6.02 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.173, allocations: 188.2 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/1.174, allocations: 104.9 kB / 1.288 GB, free: 5.719 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.174, allocations: 188.2 kB / 1.288 GB, free: 5.527 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/1.174, allocations: 108.9 kB / 1.288 GB, free: 5.414 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0004396/1.174, allocations: 279 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/1.174, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0005073/1.175, allocations: 83.88 kB / 1.289 GB, free: 5.062 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.0005555/1.175, allocations: 306.3 kB / 1.289 GB, free: 4.754 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002469/1.175, allocations: 115.9 kB / 1.289 GB, free: 4.641 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.175, allocations: 0 / 1.289 GB, free: 4.641 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 3.928e-06/1.175, allocations: 4.438 kB / 1.289 GB, free: 4.637 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/1.176, allocations: 467 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/1.177, allocations: 0.4987 MB / 1.29 GB, free: 3.648 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/1.177, allocations: 0.7821 MB / 1.291 GB, free: 2.84 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 1.833e-05/1.177, allocations: 4 kB / 1.291 GB, free: 2.836 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/1.177, allocations: 11.44 kB / 1.291 GB, free: 2.824 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.11e-07/1.177, allocations: 0 / 1.291 GB, free: 2.824 MB / 0.9825 GB
Notification: Performance of Templates: time 0.008271/1.186, allocations: 3.083 MB / 1.294 GB, free: 15.75 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  -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.214176399633288]