Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001325/0.001325, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001483/0.001483, allocations: 185 kB / 22.22 MB, free: 5.105 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.498/1.498, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 443.4 MB / 0.7321 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.89 kB / 1.061 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.104, allocations: 160.8 MB / 1.218 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004445/1.108, allocations: 1.42 MB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003427/1.111, allocations: 1.97 MB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/1.112, allocations: 0 / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/1.113, allocations: 391.1 kB / 1.222 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/1.114, allocations: 16.25 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.491e-06/1.114, allocations: 4 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/1.114, allocations: 131.5 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/1.114, allocations: 5.562 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/1.114, allocations: 45.14 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/1.114, allocations: 62.95 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/1.114, allocations: 2.156 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009184/1.115, allocations: 183 kB / 1.223 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/1.115, allocations: 30.69 kB / 1.223 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/1.115, allocations: 76.56 kB / 1.223 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006007/1.116, allocations: 300.7 kB / 1.223 GB, free: 432 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.116, allocations: 0 / 1.223 GB, free: 432 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/1.116, allocations: 1.062 kB / 1.223 GB, free: 432 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.752e-06/1.116, allocations: 0 / 1.223 GB, free: 432 kB / 0.92 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.0009965/1.117, allocations: 0.4902 MB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.117, allocations: 8.688 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/1.117, allocations: 98.48 kB / 1.224 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/1.118, allocations: 293 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/1.118, allocations: 156 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/1.118, allocations: 153.3 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/1.118, allocations: 106.4 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/1.118, allocations: 79.27 kB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/1.118, allocations: 154.5 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.162e-05/1.118, allocations: 155.7 kB / 1.225 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/1.118, allocations: 154.5 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/1.119, allocations: 0.4974 MB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.119, allocations: 174.2 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/1.119, allocations: 84.14 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/1.119, allocations: 76.38 kB / 1.226 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.392e-05/1.119, allocations: 114.9 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.119, allocations: 0 / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.000209/1.119, allocations: 52.47 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/1.119, allocations: 126.7 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/1.12, allocations: 326.9 kB / 1.226 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/1.12, allocations: 26.8 kB / 1.226 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/1.12, allocations: 116 kB / 1.226 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/1.12, allocations: 0 / 1.226 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/1.12, allocations: 60.97 kB / 1.226 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002135/1.12, allocations: 328.2 kB / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/1.12, allocations: 64.58 kB / 1.227 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/1.12, allocations: 126 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/1.121, allocations: 208.6 kB / 1.227 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.121, allocations: 0 / 1.227 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005298/1.121, allocations: 242.4 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.121, allocations: 6.219 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.121, allocations: 6.438 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.121, allocations: 1.625 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-06/1.121, allocations: 2.312 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.121, allocations: 1.312 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/1.122, allocations: 34.73 kB / 1.227 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.122, allocations: 8.078 kB / 1.227 GB, free: 12.29 MB / 0.9356 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.0003153/1.122, allocations: 234.4 kB / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/1.122, allocations: 127.3 kB / 1.228 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.737e-05/1.122, allocations: 113.1 kB / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/1.122, allocations: 184.2 kB / 1.228 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001041/1.122, allocations: 177.5 kB / 1.228 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001015/1.122, allocations: 189.8 kB / 1.228 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/1.123, allocations: 449.5 kB / 1.229 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-05/1.123, allocations: 104.9 kB / 1.229 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/1.123, allocations: 113.9 kB / 1.229 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.949e-05/1.123, allocations: 181.3 kB / 1.229 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/1.123, allocations: 181.7 kB / 1.229 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001043/1.123, allocations: 177.5 kB / 1.229 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001072/1.123, allocations: 181.7 kB / 1.23 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/1.123, allocations: 327.8 kB / 1.23 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/1.124, allocations: 202.7 kB / 1.23 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.124, allocations: 185.6 kB / 1.23 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.124, allocations: 102.5 kB / 1.23 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/1.124, allocations: 185.5 kB / 1.231 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/1.124, allocations: 102.6 kB / 1.231 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002479/1.124, allocations: 215.6 kB / 1.231 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.124, allocations: 0 / 1.231 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004566/1.125, allocations: 62.5 kB / 1.231 GB, free: 8.551 MB / 0.9356 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.0004358/1.125, allocations: 281.8 kB / 1.231 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002115/1.125, allocations: 84.52 kB / 1.231 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.125, allocations: 0 / 1.231 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/1.125, allocations: 0 / 1.231 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/1.126, allocations: 467.9 kB / 1.232 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/1.127, allocations: 409.9 kB / 1.232 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/1.127, allocations: 0.7398 MB / 1.233 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.702e-05/1.127, allocations: 2.906 kB / 1.233 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/1.127, allocations: 10 kB / 1.233 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/1.127, allocations: 0 / 1.233 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of Templates: time 0.007153/1.134, allocations: 2.309 MB / 1.235 GB, free: 5.586 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.345169541426003]