Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001889/0.001889, allocations: 102.1 kB / 19.7 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.002301/0.002301, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.784/2.784, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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_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_11_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_11_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.002069/0.002069, allocations: 66.09 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2911, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002699/0.2938, allocations: 1.455 MB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.2974, allocations: 2.703 MB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.2974, allocations: 0 / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.2988, allocations: 0.6004 MB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.2988, allocations: 15.91 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-06/0.2988, allocations: 0 / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.2991, allocations: 162.9 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.2991, allocations: 8.594 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/0.2992, allocations: 75.66 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.2994, allocations: 83.52 kB / 1.29 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2994, allocations: 0 / 1.29 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.3004, allocations: 471.3 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.3005, allocations: 31.84 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3006, allocations: 99.36 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.3012, allocations: 438 kB / 1.291 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3012, allocations: 3.984 kB / 1.291 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3012, allocations: 0 / 1.291 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3012, allocations: 0 / 1.291 GB, free: 5.113 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.0007775/0.302, allocations: 0.489 MB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.302, allocations: 8.031 kB / 1.291 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.3022, allocations: 104 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3024, allocations: 240.6 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.3025, allocations: 162.9 kB / 1.292 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.3026, allocations: 162.8 kB / 1.292 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.3027, allocations: 105.5 kB / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.3027, allocations: 75.47 kB / 1.292 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.668e-05/0.3028, allocations: 158.5 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/0.3029, allocations: 150.6 kB / 1.292 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.3029, allocations: 154.6 kB / 1.292 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.3033, allocations: 0.5045 MB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3034, allocations: 169.1 kB / 1.293 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.042e-05/0.3035, allocations: 84.14 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3035, allocations: 75.28 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.095e-05/0.3036, allocations: 105.8 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3036, allocations: 4 kB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001799/0.3037, allocations: 65.38 kB / 1.293 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.3038, allocations: 126.7 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.3043, allocations: 433.3 kB / 1.294 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3043, allocations: 25.7 kB / 1.294 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3044, allocations: 140.6 kB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.3044, allocations: 0 / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3045, allocations: 85.67 kB / 1.294 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3047, allocations: 346.8 kB / 1.294 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3048, allocations: 92.61 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.305, allocations: 169.9 kB / 1.295 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.3053, allocations: 313.6 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3053, allocations: 0 / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005181/0.3058, allocations: 333 kB / 1.295 GB, free: 72 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3059, allocations: 8 kB / 1.295 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3059, allocations: 3.938 kB / 1.295 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3059, allocations: 4 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.3059, allocations: 0 / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3059, allocations: 4 kB / 1.295 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.306, allocations: 43.52 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.306, allocations: 4 kB / 1.295 GB, free: 4 kB / 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.0002471/0.3063, allocations: 249.3 kB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.3064, allocations: 128.7 kB / 1.296 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.3064, allocations: 114.8 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.418e-05/0.3065, allocations: 180.2 kB / 1.296 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-05/0.3066, allocations: 188.2 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.833e-05/0.3067, allocations: 180.3 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.307, allocations: 448.2 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/0.3071, allocations: 105 kB / 1.297 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.3071, allocations: 104.9 kB / 1.297 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.037e-05/0.3072, allocations: 176.3 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.3073, allocations: 184.2 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.014e-05/0.3074, allocations: 192.2 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.913e-05/0.3074, allocations: 176.3 kB / 1.298 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.3076, allocations: 319.9 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3077, allocations: 128.8 kB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.3078, allocations: 204.2 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.308, allocations: 104.9 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.3081, allocations: 184.2 kB / 1.299 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.3081, allocations: 101 kB / 1.299 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003059/0.3084, allocations: 283.1 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3084, allocations: 0 / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003785/0.3088, allocations: 87.88 kB / 1.299 GB, free: 12.05 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.000361/0.3092, allocations: 302.3 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3094, allocations: 123.8 kB / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3094, allocations: 0 / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.3094, allocations: 0 / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3098, allocations: 469.6 kB / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.3105, allocations: 0.5123 MB / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.3109, allocations: 0.7822 MB / 1.301 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.3109, allocations: 7.438 kB / 1.301 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.3109, allocations: 0 / 1.301 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of Templates: time 0.005206/0.3161, allocations: 3.156 MB / 1.304 GB, free: 6.645 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.289577713003382]