Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001419/0.001419, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001719/0.001719, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.646/1.646, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.392/3.392, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002179/0.002179, allocations: 73.58 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4866, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003798/0.4904, allocations: 1.424 MB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004102/0.4945, allocations: 2.406 MB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.4945, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.4967, allocations: 0.5401 MB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.4967, allocations: 19.84 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.885e-06/0.4967, allocations: 4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.4971, allocations: 158.9 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.4971, allocations: 12.53 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.4973, allocations: 67.72 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.4974, allocations: 83.52 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.4975, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.4987, allocations: 403.5 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.4988, allocations: 39.77 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.499, allocations: 79.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009556/0.4999, allocations: 434.1 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4999, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4999, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.5, allocations: 3.938 kB / 1.331 GB, free: 12.18 MB / 1.029 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.001127/0.5011, allocations: 492.7 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.5011, allocations: 16.02 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.5014, allocations: 104 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.5017, allocations: 244.5 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5018, allocations: 154.9 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5019, allocations: 154.9 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.502, allocations: 109.5 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.5021, allocations: 75.47 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.5022, allocations: 154.5 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.643e-05/0.5023, allocations: 154.6 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.5024, allocations: 154.6 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.5029, allocations: 497.2 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.503, allocations: 169.1 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.5031, allocations: 80.14 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.5031, allocations: 79.28 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.55e-05/0.5032, allocations: 113.9 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.472e-06/0.5032, allocations: 0 / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0002679/0.5035, allocations: 65.42 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.5035, allocations: 126.7 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.5042, allocations: 437.3 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.5042, allocations: 29.7 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.5044, allocations: 136.6 kB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-06/0.5044, allocations: 0 / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.5045, allocations: 89.67 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.5047, allocations: 338.8 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5049, allocations: 96.61 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.5051, allocations: 173.8 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.5055, allocations: 305.6 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5055, allocations: 0 / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006782/0.5062, allocations: 329.1 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5062, allocations: 8.219 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5062, allocations: 4 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.5063, allocations: 15.81 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.5063, allocations: 0 / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.5063, allocations: 7.938 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.5065, allocations: 47.52 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.5065, allocations: 4 kB / 1.336 GB, free: 7.086 MB / 1.029 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.0003431/0.5068, allocations: 241.6 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.507, allocations: 128.8 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.5071, allocations: 114.8 kB / 1.336 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001152/0.5072, allocations: 184.2 kB / 1.336 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001134/0.5073, allocations: 180.2 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/0.5074, allocations: 188.2 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.5078, allocations: 416.8 kB / 1.337 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.655e-05/0.5079, allocations: 104.9 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.5079, allocations: 105 kB / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.643e-05/0.508, allocations: 188.2 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/0.5081, allocations: 176.3 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.908e-05/0.5082, allocations: 176.3 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.384e-05/0.5083, allocations: 188.4 kB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.5085, allocations: 339.6 kB / 1.338 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5086, allocations: 120.8 kB / 1.338 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.5087, allocations: 180.3 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.5089, allocations: 108.9 kB / 1.339 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.509, allocations: 188.2 kB / 1.339 GB, free: 3.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.509, allocations: 104.9 kB / 1.339 GB, free: 3.539 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003232/0.5094, allocations: 275.1 kB / 1.339 GB, free: 3.273 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5094, allocations: 0 / 1.339 GB, free: 3.273 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004728/0.5098, allocations: 83.94 kB / 1.339 GB, free: 3.191 MB / 1.029 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.0004731/0.5103, allocations: 301 kB / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.5106, allocations: 127.8 kB / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5106, allocations: 0 / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.5106, allocations: 0 / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.5111, allocations: 473 kB / 1.34 GB, free: 2.301 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.5119, allocations: 0.495 MB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.5121, allocations: 176.5 kB / 1.341 GB, free: 1.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.5121, allocations: 0 / 1.341 GB, free: 1.582 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.5121, allocations: 11.44 kB / 1.341 GB, free: 1.57 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.5121, allocations: 0 / 1.341 GB, free: 1.57 MB / 1.029 GB Notification: Performance of Templates: time 0.008694/0.5208, allocations: 3.327 MB / 1.344 GB, free: 14.26 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.22585640847683]