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.001765/0.001765, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002247/0.002247, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.515/3.515, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002521/0.002521, allocations: 70.25 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.548, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003338/0.5513, allocations: 1.422 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.554, allocations: 1.758 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.5541, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.5552, allocations: 350 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.5552, allocations: 19.91 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.11e-06/0.5553, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.5555, allocations: 131.1 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.5556, allocations: 5.688 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.5557, allocations: 47.86 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.5558, allocations: 63.7 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.5558, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.5563, allocations: 187.9 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.5563, allocations: 31.84 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.5564, allocations: 59.67 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.5569, allocations: 298.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5569, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5569, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.5569, allocations: 4 kB / 1.331 GB, free: 12.6 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.0008362/0.5578, allocations: 413.3 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5578, allocations: 11.97 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.558, allocations: 96.08 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.5582, allocations: 233.1 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/0.5583, allocations: 158.9 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/0.5584, allocations: 150.9 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.5585, allocations: 113.1 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.5586, allocations: 75.28 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/0.5586, allocations: 154.6 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/0.5587, allocations: 150.6 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.5588, allocations: 154.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.5593, allocations: 469.4 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.5594, allocations: 165.1 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.5595, allocations: 84.14 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.5595, allocations: 75.28 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.341e-05/0.5596, allocations: 109.8 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.5596, allocations: 0 / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001955/0.5598, allocations: 53.47 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.5599, allocations: 134.7 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.5602, allocations: 321.6 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.5603, allocations: 29.7 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.5604, allocations: 116.5 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.5604, allocations: 3.938 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.5604, allocations: 65.62 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5606, allocations: 330.8 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.5607, allocations: 67.95 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.5609, allocations: 117.9 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.5612, allocations: 209.9 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5612, allocations: 0 / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004509/0.5616, allocations: 237.3 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5616, allocations: 11.94 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5617, allocations: 0 / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.5617, allocations: 4 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-06/0.5617, allocations: 3.984 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.5617, allocations: 4 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.5618, allocations: 23.73 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.5618, allocations: 4 kB / 1.335 GB, free: 8.113 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.0002827/0.5621, allocations: 225.8 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.5622, allocations: 132.8 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.5623, allocations: 109.8 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.774e-05/0.5624, allocations: 184.2 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001142/0.5625, allocations: 180.3 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/0.5626, allocations: 180.3 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.563, allocations: 400.8 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.911e-05/0.563, allocations: 101 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.5631, allocations: 112.9 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.354e-05/0.5632, allocations: 184.3 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-05/0.5632, allocations: 180.2 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.965e-05/0.5633, allocations: 188.2 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-05/0.5634, allocations: 176.3 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.5636, allocations: 323.6 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.5637, allocations: 120.9 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.5638, allocations: 184.1 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.564, allocations: 109 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.5641, allocations: 184.2 kB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.5641, allocations: 101.3 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002299/0.5644, allocations: 217.2 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5644, allocations: 0 / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004061/0.5648, allocations: 67.88 kB / 1.339 GB, free: 4.34 MB / 1.029 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.000432/0.5652, allocations: 286.3 kB / 1.339 GB, free: 4.051 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.5654, allocations: 79.89 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5654, allocations: 448 / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-06/0.5654, allocations: 7.938 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.5659, allocations: 460.2 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.5665, allocations: 393.5 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.5667, allocations: 134.6 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.244e-05/0.5667, allocations: 0 / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.5667, allocations: 11.44 kB / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.5667, allocations: 4 kB / 1.34 GB, free: 2.934 MB / 1.029 GB Notification: Performance of Templates: time 0.00652/0.5732, allocations: 2.498 MB / 1.343 GB, free: 464 kB / 1.029 GB " [Timeout remaining time 299] 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 -s cvode -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: 10.501311557993176]