Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001806/0.001806, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001974/0.001974, allocations: 186 kB / 20.78 MB, free: 1.547 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.569/1.569, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.107 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003106/1.008, allocations: 1.432 MB / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002315/1.01, allocations: 1.967 MB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/1.01, allocations: 1.188 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/1.011, allocations: 388.1 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/1.011, allocations: 24.95 kB / 1.276 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.17e-06/1.011, allocations: 0 / 1.276 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000328/1.012, allocations: 125.3 kB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/1.012, allocations: 7.734 kB / 1.276 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/1.012, allocations: 45.7 kB / 1.276 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/1.012, allocations: 63.61 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/1.012, allocations: 2.562 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005893/1.013, allocations: 183.6 kB / 1.276 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/1.013, allocations: 34.86 kB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/1.013, allocations: 69.31 kB / 1.276 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005281/1.013, allocations: 289.7 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.013, allocations: 0 / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/1.013, allocations: 0 / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.013, allocations: 1.031 kB / 1.276 GB, free: 5.066 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.0007869/1.014, allocations: 0.4929 MB / 1.277 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.014, allocations: 9 kB / 1.277 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/1.014, allocations: 103.8 kB / 1.277 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/1.015, allocations: 292.2 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/1.015, allocations: 152.5 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/1.015, allocations: 157.1 kB / 1.278 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.777e-05/1.015, allocations: 106.6 kB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.015, allocations: 75.28 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/1.015, allocations: 155.4 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/1.015, allocations: 150.6 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.276e-05/1.015, allocations: 160.5 kB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/1.015, allocations: 0.5006 MB / 1.279 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/1.015, allocations: 170 kB / 1.279 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/1.015, allocations: 81.52 kB / 1.279 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/1.015, allocations: 75.28 kB / 1.279 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.015, allocations: 118.7 kB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.015, allocations: 0.5938 kB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001853/1.015, allocations: 52.75 kB / 1.279 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/1.015, allocations: 132.6 kB / 1.279 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/1.016, allocations: 318.8 kB / 1.28 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/1.016, allocations: 30.73 kB / 1.28 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/1.016, allocations: 113.1 kB / 1.28 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/1.016, allocations: 0 / 1.28 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/1.016, allocations: 62.23 kB / 1.28 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.362e-05/1.016, allocations: 329.6 kB / 1.28 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/1.016, allocations: 73.73 kB / 1.28 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/1.016, allocations: 117.8 kB / 1.28 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/1.017, allocations: 205.6 kB / 1.28 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.017, allocations: 0 / 1.28 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004288/1.017, allocations: 244.1 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.017, allocations: 5.719 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.017, allocations: 1.75 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.017, allocations: 2.719 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-06/1.017, allocations: 3.328 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.017, allocations: 1.938 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/1.017, allocations: 33.95 kB / 1.281 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/1.017, allocations: 4.812 kB / 1.281 GB, free: 1.133 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.0002038/1.017, allocations: 226.6 kB / 1.281 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/1.017, allocations: 127.6 kB / 1.281 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/1.017, allocations: 118.6 kB / 1.281 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/1.017, allocations: 182.6 kB / 1.281 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/1.018, allocations: 177.1 kB / 1.282 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/1.018, allocations: 178.4 kB / 1.282 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/1.018, allocations: 456.8 kB / 1.282 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/1.018, allocations: 103 kB / 1.282 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/1.018, allocations: 110.5 kB / 1.282 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.041e-05/1.018, allocations: 183.2 kB / 1.283 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/1.018, allocations: 177.2 kB / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-05/1.018, allocations: 185.2 kB / 1.283 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.557e-05/1.018, allocations: 178.9 kB / 1.283 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/1.019, allocations: 320.7 kB / 1.283 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/1.019, allocations: 206.8 kB / 1.284 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.019, allocations: 182 kB / 1.284 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.019, allocations: 107.9 kB / 1.284 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.019, allocations: 181.2 kB / 1.284 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/1.019, allocations: 106.7 kB / 1.284 GB, free: 13.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003297/1.019, allocations: 217.6 kB / 1.284 GB, free: 13.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.019, allocations: 0 / 1.284 GB, free: 13.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005377/1.02, allocations: 62.5 kB / 1.284 GB, free: 13.48 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.0005917/1.021, allocations: 273.3 kB / 1.285 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002972/1.021, allocations: 89.22 kB / 1.285 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.021, allocations: 4.375 kB / 1.285 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/1.021, allocations: 4.688 kB / 1.285 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/1.021, allocations: 459.2 kB / 1.285 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/1.022, allocations: 404.3 kB / 1.286 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/1.023, allocations: 0.7409 MB / 1.286 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.69e-05/1.023, allocations: 3.578 kB / 1.286 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/1.023, allocations: 9.406 kB / 1.286 GB, free: 11.8 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.023, allocations: 0 / 1.286 GB, free: 11.8 MB / 1.014 GB Notification: Performance of Templates: time 0.006746/1.03, allocations: 2.32 MB / 1.289 GB, free: 11.48 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.54287245683372]