Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001836/0.001836, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002666/0.002666, allocations: 215.4 kB / 23 MB, free: 4.965 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 72.45 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4241, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00286/0.4269, allocations: 1.409 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.4295, allocations: 1.756 MB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.4295, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.4306, allocations: 355.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.4306, allocations: 23.84 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.889e-06/0.4306, allocations: 4 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.4309, allocations: 115.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.535e-05/0.4309, allocations: 9.672 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.256e-05/0.431, allocations: 51.78 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.4311, allocations: 63.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.4312, allocations: 4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.4316, allocations: 179.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.4316, allocations: 31.84 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.4317, allocations: 55.67 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.4322, allocations: 302.7 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4322, allocations: 3.938 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4322, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4322, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 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.0007948/0.433, allocations: 417.2 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.433, allocations: 8.031 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.4332, allocations: 104.1 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.4335, allocations: 237.1 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.4336, allocations: 154.9 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.4336, allocations: 158.9 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.915e-05/0.4337, allocations: 113.1 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.4338, allocations: 79.22 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.4339, allocations: 150.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.899e-05/0.4339, allocations: 154.6 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.434, allocations: 150.6 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.4344, allocations: 461.4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4345, allocations: 173.1 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.4345, allocations: 88.08 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.4346, allocations: 75.28 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.4346, allocations: 109.8 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.4346, allocations: 0 / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001796/0.4348, allocations: 49.55 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.4348, allocations: 51.41 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.4352, allocations: 325.6 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4352, allocations: 33.64 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4353, allocations: 108.5 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-06/0.4353, allocations: 4 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.4354, allocations: 65.66 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4356, allocations: 330.8 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4357, allocations: 67.95 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.4358, allocations: 118 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.4361, allocations: 205.9 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4361, allocations: 4 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004486/0.4366, allocations: 237.2 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4366, allocations: 4 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4366, allocations: 11.95 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4366, allocations: 0 / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.4366, allocations: 4 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4366, allocations: 3.984 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.4367, allocations: 27.73 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.4368, allocations: 12.22 kB / 1.335 GB, free: 8.238 MB / 1.029 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.0002365/0.437, allocations: 225.5 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.4371, allocations: 120.8 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/0.4371, allocations: 121.7 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-05/0.4372, allocations: 180.2 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.102e-05/0.4373, allocations: 105 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.4374, allocations: 128.8 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.4375, allocations: 180.3 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4376, allocations: 101 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.4377, allocations: 184.2 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001316/0.4378, allocations: 263.6 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002177/0.4381, allocations: 394.9 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.339e-05/0.4381, allocations: 108.9 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002233/0.4383, allocations: 213.2 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of Backend: time 5.21e-07/0.4383, allocations: 0 / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000776/0.4391, allocations: 262.3 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009926/0.4401, allocations: 1.067 MB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of Templates: time 0.0064/0.4465, allocations: 2.514 MB / 1.341 GB, free: 1.98 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.452210602998093]