Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001514/0.001514, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001757/0.001757, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.192/3.192, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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_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_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [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.002149/0.002149, allocations: 70.55 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003084/0.3923, allocations: 1.441 MB / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003836/0.3961, allocations: 2.718 MB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.3962, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.398, allocations: 0.5936 MB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.838e-05/0.3981, allocations: 15.91 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.22e-06/0.3981, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.3984, allocations: 162.9 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.615e-05/0.3985, allocations: 16.53 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3986, allocations: 63.72 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.3988, allocations: 87.52 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.3988, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.3999, allocations: 467.3 kB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.4, allocations: 43.83 kB / 1.333 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.4001, allocations: 99.36 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006974/0.4008, allocations: 438 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4008, allocations: 4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4008, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4008, allocations: 0 / 1.333 GB, free: 11.32 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.0008659/0.4017, allocations: 484.8 kB / 1.334 GB, free: 10.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4017, allocations: 12.03 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.4019, allocations: 108 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.4021, allocations: 252.5 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.227e-05/0.4022, allocations: 154.9 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.4023, allocations: 150.9 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.708e-05/0.4024, allocations: 105.5 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.4024, allocations: 75.47 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/0.4025, allocations: 158.5 kB / 1.335 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/0.4025, allocations: 150.6 kB / 1.335 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.4026, allocations: 154.6 kB / 1.335 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.4031, allocations: 0.5045 MB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.4032, allocations: 177.1 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.4032, allocations: 80.14 kB / 1.336 GB, free: 8.668 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.4033, allocations: 75.28 kB / 1.336 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/0.4033, allocations: 117.8 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4033, allocations: 4 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001907/0.4035, allocations: 65.38 kB / 1.336 GB, free: 8.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.4036, allocations: 130.7 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.4041, allocations: 429.3 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4041, allocations: 25.7 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4042, allocations: 136.6 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.4042, allocations: 0 / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.4043, allocations: 89.66 kB / 1.337 GB, free: 7.562 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4045, allocations: 342.8 kB / 1.337 GB, free: 7.219 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.4046, allocations: 100.6 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.4048, allocations: 169.9 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.4052, allocations: 301.6 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4052, allocations: 0 / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005545/0.4057, allocations: 337 kB / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4057, allocations: 5.719 kB / 1.338 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4058, allocations: 7.938 kB / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4058, allocations: 3.984 kB / 1.338 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/0.4058, allocations: 4 kB / 1.338 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4058, allocations: 0 / 1.338 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.4059, allocations: 43.52 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.4059, allocations: 7.938 kB / 1.338 GB, free: 6.207 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.0003058/0.4062, allocations: 245.8 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4063, allocations: 128.7 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.4064, allocations: 118.8 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.082e-05/0.4065, allocations: 184.2 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.636e-05/0.4066, allocations: 176.3 kB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-05/0.4067, allocations: 180.3 kB / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.407, allocations: 452.2 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.132e-05/0.407, allocations: 101 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.4071, allocations: 108.9 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.376e-05/0.4072, allocations: 176.3 kB / 1.34 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-05/0.4073, allocations: 184.2 kB / 1.34 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.74e-05/0.4074, allocations: 184.2 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.709e-05/0.4074, allocations: 176.5 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.4077, allocations: 335.6 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.4078, allocations: 124.7 kB / 1.341 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.4079, allocations: 200.1 kB / 1.341 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.408, allocations: 101 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.4081, allocations: 180.2 kB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.4082, allocations: 105 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003016/0.4085, allocations: 279.1 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4085, allocations: 0 / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004223/0.4089, allocations: 83.92 kB / 1.341 GB, free: 2.27 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.0004695/0.4094, allocations: 310.2 kB / 1.342 GB, free: 1.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.4096, allocations: 119.8 kB / 1.342 GB, free: 1.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4096, allocations: 0 / 1.342 GB, free: 1.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4096, allocations: 0 / 1.342 GB, free: 1.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.4101, allocations: 469.1 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/0.4109, allocations: 0.5244 MB / 1.343 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4113, allocations: 0.7744 MB / 1.344 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.4113, allocations: 7.438 kB / 1.344 GB, free: 8 kB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4113, allocations: 7.938 kB / 1.344 GB, free: 0 / 1.029 GB Notification: Performance of Templates: time 0.0057/0.417, allocations: 3.153 MB / 1.347 GB, free: 12.85 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.896236730011879]