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.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.001554/0.001554, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001762/0.001763, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 489.3 MB / 0.7687 GB, free: 3.703 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.88 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002669/1.111, allocations: 1.413 MB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002257/1.113, allocations: 1.927 MB / 1.266 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/1.113, allocations: 0.7188 kB / 1.266 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/1.114, allocations: 391.3 kB / 1.266 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/1.114, allocations: 15.92 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/1.114, allocations: 0 / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/1.115, allocations: 125.3 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.928e-05/1.115, allocations: 24.25 kB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/1.115, allocations: 45.31 kB / 1.266 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/1.115, allocations: 65.92 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/1.115, allocations: 2.25 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/1.115, allocations: 182.5 kB / 1.267 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/1.115, allocations: 32.17 kB / 1.267 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/1.116, allocations: 71.62 kB / 1.267 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000542/1.116, allocations: 289.2 kB / 1.267 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.116, allocations: 0.5625 kB / 1.267 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/1.116, allocations: 1.156 kB / 1.267 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.613e-06/1.116, allocations: 0 / 1.267 GB, free: 5.152 MB / 0.9981 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.0006812/1.117, allocations: 0.4922 MB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.117, allocations: 9.938 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/1.117, allocations: 99.53 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/1.117, allocations: 287.6 kB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/1.117, allocations: 156.4 kB / 1.268 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/1.117, allocations: 161.1 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.9e-05/1.117, allocations: 106.5 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.117, allocations: 76.03 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/1.117, allocations: 154.5 kB / 1.268 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/1.117, allocations: 152 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/1.117, allocations: 151.4 kB / 1.269 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/1.118, allocations: 0.508 MB / 1.269 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/1.118, allocations: 174.1 kB / 1.269 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/1.118, allocations: 80.8 kB / 1.27 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/1.118, allocations: 75.28 kB / 1.27 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/1.118, allocations: 115.8 kB / 1.27 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.118, allocations: 0 / 1.27 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001742/1.118, allocations: 50.41 kB / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/1.118, allocations: 127.6 kB / 1.27 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/1.119, allocations: 322.5 kB / 1.27 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/1.119, allocations: 30.33 kB / 1.27 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/1.119, allocations: 117.6 kB / 1.27 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/1.119, allocations: 4 kB / 1.27 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/1.119, allocations: 61.61 kB / 1.27 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/1.119, allocations: 330.4 kB / 1.271 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/1.119, allocations: 64.23 kB / 1.271 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/1.119, allocations: 118.5 kB / 1.271 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/1.119, allocations: 217.7 kB / 1.271 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.119, allocations: 0.5 kB / 1.271 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004501/1.12, allocations: 235.5 kB / 1.271 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.12, allocations: 5.719 kB / 1.271 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.12, allocations: 3.453 kB / 1.271 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.12, allocations: 1.625 kB / 1.271 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-06/1.12, allocations: 11.05 kB / 1.271 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.12, allocations: 5.781 kB / 1.271 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/1.12, allocations: 31.14 kB / 1.271 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/1.12, allocations: 4.328 kB / 1.271 GB, free: 1.215 MB / 0.9981 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.0001846/1.12, allocations: 225.3 kB / 1.272 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/1.12, allocations: 132.1 kB / 1.272 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/1.12, allocations: 110.7 kB / 1.272 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/1.12, allocations: 181.9 kB / 1.272 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.803e-05/1.12, allocations: 182.4 kB / 1.272 GB, free: 16.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.444e-05/1.12, allocations: 177.2 kB / 1.272 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/1.121, allocations: 453.4 kB / 1.273 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.778e-05/1.121, allocations: 110.7 kB / 1.273 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/1.121, allocations: 106.2 kB / 1.273 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.26e-05/1.121, allocations: 185.5 kB / 1.273 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/1.121, allocations: 177.9 kB / 1.273 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-05/1.121, allocations: 186.2 kB / 1.273 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.731e-05/1.121, allocations: 177.7 kB / 1.274 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/1.121, allocations: 327.3 kB / 1.274 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/1.122, allocations: 201.2 kB / 1.274 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.122, allocations: 182.3 kB / 1.274 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/1.122, allocations: 102.9 kB / 1.274 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/1.122, allocations: 181.7 kB / 1.275 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/1.122, allocations: 107.2 kB / 1.275 GB, free: 13.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002487/1.122, allocations: 223 kB / 1.275 GB, free: 13.56 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.122, allocations: 0 / 1.275 GB, free: 13.56 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004267/1.123, allocations: 64.38 kB / 1.275 GB, free: 13.55 MB / 1.014 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.0003684/1.123, allocations: 277.4 kB / 1.275 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000216/1.123, allocations: 102.3 kB / 1.275 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.123, allocations: 0.8438 kB / 1.275 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/1.123, allocations: 0 / 1.275 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/1.124, allocations: 459.2 kB / 1.276 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/1.124, allocations: 431.3 kB / 1.276 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/1.125, allocations: 0.7402 MB / 1.277 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/1.125, allocations: 9.344 kB / 1.277 GB, free: 11.84 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/1.125, allocations: 0 / 1.277 GB, free: 11.84 MB / 1.014 GB Notification: Performance of Templates: time 0.005066/1.13, allocations: 2.336 MB / 1.279 GB, free: 11.6 MB / 1.014 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 -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_2/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: 11.609539458993822]