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.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.001297/0.001297, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001475/0.001475, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002053/0.002053, allocations: 67.64 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2942, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002752/0.2969, allocations: 1.438 MB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.2996, allocations: 1.968 MB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.2996, allocations: 0 / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3006, allocations: 389.9 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.3007, allocations: 19.84 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.3007, allocations: 0 / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.301, allocations: 127.1 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.301, allocations: 13.67 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.3011, allocations: 47.8 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3012, allocations: 59.7 kB / 1.289 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3012, allocations: 4 kB / 1.289 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/0.3017, allocations: 187.9 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.3018, allocations: 27.91 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.3019, allocations: 75.53 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.3024, allocations: 294.7 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3024, allocations: 0 / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3024, allocations: 4 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3024, allocations: 0 / 1.289 GB, free: 6.57 MB / 0.9825 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.0008092/0.3032, allocations: 417.2 kB / 1.29 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3032, allocations: 8.031 kB / 1.29 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.3034, allocations: 104.1 kB / 1.29 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.3037, allocations: 233.1 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/0.3037, allocations: 158.9 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.3038, allocations: 150.9 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.3039, allocations: 109.1 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.3039, allocations: 75.28 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.304, allocations: 154.6 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/0.3041, allocations: 150.6 kB / 1.291 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.3042, allocations: 158.5 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.3046, allocations: 492.7 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3047, allocations: 169.2 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.3047, allocations: 80.14 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.3048, allocations: 79.28 kB / 1.292 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.131e-05/0.3048, allocations: 117.7 kB / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3048, allocations: 0 / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001758/0.305, allocations: 45.59 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.3051, allocations: 130.7 kB / 1.292 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3054, allocations: 321.7 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3055, allocations: 25.7 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.3056, allocations: 124.5 kB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.3056, allocations: 0 / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.3056, allocations: 61.69 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3058, allocations: 330.8 kB / 1.293 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.3059, allocations: 63.89 kB / 1.293 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.306, allocations: 125.9 kB / 1.293 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.3063, allocations: 209.8 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3063, allocations: 0 / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004567/0.3067, allocations: 245.2 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3068, allocations: 8 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3068, allocations: 0 / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3068, allocations: 8.203 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.3068, allocations: 4 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3068, allocations: 4 kB / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3069, allocations: 23.73 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3069, allocations: 4 kB / 1.293 GB, free: 2.039 MB / 0.9825 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.0002556/0.3072, allocations: 234.1 kB / 1.294 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.3073, allocations: 116.8 kB / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.3074, allocations: 117.8 kB / 1.294 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.171e-05/0.3074, allocations: 188.2 kB / 1.294 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.641e-05/0.3075, allocations: 176.3 kB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.079e-05/0.3076, allocations: 180.2 kB / 1.294 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.3079, allocations: 420.2 kB / 1.295 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.308, allocations: 105 kB / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.308, allocations: 112.9 kB / 1.295 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.3082, allocations: 176.3 kB / 1.295 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.83e-05/0.3083, allocations: 184.2 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.869e-05/0.3084, allocations: 184.2 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.493e-05/0.3084, allocations: 180.3 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.3086, allocations: 323.6 kB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.3087, allocations: 124.8 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3088, allocations: 180.3 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3089, allocations: 105 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.309, allocations: 180.2 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.3091, allocations: 113 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002126/0.3093, allocations: 209.2 kB / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3093, allocations: 0 / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000404/0.3097, allocations: 67.92 kB / 1.297 GB, free: 14.24 MB / 0.9981 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.0003353/0.31, allocations: 270.7 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.3102, allocations: 87.83 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3102, allocations: 3.938 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3102, allocations: 0 / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3106, allocations: 471 kB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.3112, allocations: 411.1 kB / 1.298 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3116, allocations: 0.7431 MB / 1.299 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.3116, allocations: 7.438 kB / 1.299 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.3116, allocations: 4 kB / 1.299 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.004456/0.3161, allocations: 2.359 MB / 1.301 GB, free: 9.844 MB / 0.9981 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/jenkins1/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: 11.28006509700208]