Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001904/0.001904, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002561/0.002561, allocations: 155.6 kB / 23.01 MB, free: 4.602 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.901/2.901, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003514/0.003514, allocations: 69.92 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9589/0.9624, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002498/0.9649, allocations: 1.427 MB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.967, allocations: 1.756 MB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.967, allocations: 0 / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.968, allocations: 351.9 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.9681, allocations: 20.95 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.14e-06/0.9681, allocations: 4 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.9683, allocations: 133.1 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.9683, allocations: 6.562 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.9684, allocations: 41.17 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.9685, allocations: 66.86 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.9686, allocations: 2.344 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.969, allocations: 175.6 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.969, allocations: 34.44 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.413e-05/0.9691, allocations: 55.92 kB / 1.191 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.9695, allocations: 302.2 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9696, allocations: 1.156 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9696, allocations: 0 / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.9696, allocations: 0 / 1.191 GB, free: 13.63 MB / 1.076 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.0006458/0.9702, allocations: 421.4 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.9702, allocations: 10.06 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.9704, allocations: 96.61 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.9706, allocations: 233.9 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.9706, allocations: 156.3 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.9706, allocations: 157.6 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.267e-05/0.9706, allocations: 111.4 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.9707, allocations: 75.28 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.9707, allocations: 151.5 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.9707, allocations: 152.4 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.9707, allocations: 154.6 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.971, allocations: 458 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.931e-05/0.971, allocations: 174.1 kB / 1.193 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.971, allocations: 86.05 kB / 1.193 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.971, allocations: 75.28 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.9711, allocations: 112.1 kB / 1.193 GB, free: 11.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.9711, allocations: 1.375 kB / 1.193 GB, free: 11.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001674/0.9712, allocations: 52.97 kB / 1.193 GB, free: 11.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.9713, allocations: 128.6 kB / 1.194 GB, free: 10.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.9716, allocations: 325.3 kB / 1.194 GB, free: 10.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.9716, allocations: 26.77 kB / 1.194 GB, free: 10.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.9717, allocations: 117.5 kB / 1.194 GB, free: 10.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.9717, allocations: 0 / 1.194 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.9717, allocations: 65.52 kB / 1.194 GB, free: 10.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.9718, allocations: 332.2 kB / 1.194 GB, free: 10.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.9719, allocations: 63.8 kB / 1.194 GB, free: 10.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.972, allocations: 122.7 kB / 1.195 GB, free: 10.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.9722, allocations: 211.6 kB / 1.195 GB, free: 10.08 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9722, allocations: 1.094 kB / 1.195 GB, free: 10.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004411/0.9727, allocations: 234.5 kB / 1.195 GB, free: 9.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9727, allocations: 10.53 kB / 1.195 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9727, allocations: 4.984 kB / 1.195 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.9727, allocations: 4 kB / 1.195 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.9727, allocations: 1.812 kB / 1.195 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.9727, allocations: 2.922 kB / 1.195 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.9728, allocations: 35.25 kB / 1.195 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.9729, allocations: 7.938 kB / 1.195 GB, free: 9.941 MB / 1.076 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.0001552/0.973, allocations: 225.6 kB / 1.195 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.9731, allocations: 125 kB / 1.195 GB, free: 9.621 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.9731, allocations: 119 kB / 1.195 GB, free: 9.492 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.9731, allocations: 178.1 kB / 1.196 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.9731, allocations: 182.3 kB / 1.196 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.9732, allocations: 182.8 kB / 1.196 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.9733, allocations: 398.4 kB / 1.196 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.9733, allocations: 106.5 kB / 1.196 GB, free: 8.445 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.9734, allocations: 107.5 kB / 1.197 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/0.9734, allocations: 177.9 kB / 1.197 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.9734, allocations: 186.9 kB / 1.197 GB, free: 7.969 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-05/0.9734, allocations: 177.9 kB / 1.197 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.149e-05/0.9735, allocations: 181.8 kB / 1.197 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.468e-05/0.9735, allocations: 324.2 kB / 1.198 GB, free: 7.277 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.9736, allocations: 120.8 kB / 1.198 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.9736, allocations: 187.7 kB / 1.198 GB, free: 6.973 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9737, allocations: 106.7 kB / 1.198 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.9738, allocations: 178 kB / 1.198 GB, free: 6.684 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.9738, allocations: 106.8 kB / 1.198 GB, free: 6.574 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000199/0.974, allocations: 219.1 kB / 1.198 GB, free: 6.461 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.974, allocations: 0 / 1.198 GB, free: 6.461 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003632/0.9743, allocations: 64.41 kB / 1.198 GB, free: 6.453 MB / 1.076 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.0002685/0.9746, allocations: 278.6 kB / 1.199 GB, free: 6.246 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.9748, allocations: 85.23 kB / 1.199 GB, free: 6.219 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.9748, allocations: 0 / 1.199 GB, free: 6.219 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.9748, allocations: 1.062 kB / 1.199 GB, free: 6.219 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.9751, allocations: 468.1 kB / 1.199 GB, free: 5.762 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.9756, allocations: 400.3 kB / 1.2 GB, free: 5.488 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.9757, allocations: 130.8 kB / 1.2 GB, free: 5.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.409e-05/0.9757, allocations: 3.438 kB / 1.2 GB, free: 5.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.9757, allocations: 10.5 kB / 1.2 GB, free: 5.402 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9757, allocations: 0 / 1.2 GB, free: 5.402 MB / 1.076 GB Notification: Performance of Templates: time 0.006183/0.9819, allocations: 2.264 MB / 1.202 GB, free: 5.07 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.966804121970199]