Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001623/0.001623, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.002529/0.002529, allocations: 191.7 kB / 22.23 MB, free: 5.227 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.02 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.78/2.78, allocations: 476.7 MB / 0.7646 GB, free: 9.859 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.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.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 62.94 kB / 1.11 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.396, allocations: 168.8 MB / 1.274 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01953/0.4156, allocations: 15.33 MB / 1.289 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.4341, allocations: 10.73 MB / 1.3 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.4361, allocations: 79.31 kB / 1.3 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005233/0.4414, allocations: 1.761 MB / 1.302 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006814/0.4482, allocations: 1.857 MB / 1.303 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.4508, allocations: 0.757 MB / 1.304 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005442/0.4562, allocations: 2.763 MB / 1.307 GB, free: 9.531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.4583, allocations: 1.006 MB / 1.308 GB, free: 8.496 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.4612, allocations: 1.555 MB / 1.309 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.464, allocations: 1.226 MB / 1.311 GB, free: 5.707 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004268/0.4644, allocations: 160 kB / 1.311 GB, free: 5.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.4663, allocations: 0.8072 MB / 1.311 GB, free: 4.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007976/0.4671, allocations: 0.6191 MB / 1.312 GB, free: 4.121 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.4686, allocations: 0.9561 MB / 1.313 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.4729, allocations: 2.771 MB / 1.316 GB, free: 388 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.4729, allocations: 7.984 kB / 1.316 GB, free: 380 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4729, allocations: 0 / 1.316 GB, free: 380 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.471e-05/0.473, allocations: 4 kB / 1.316 GB, free: 376 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004497/0.4775, allocations: 2.147 MB / 1.318 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4775, allocations: 12.02 kB / 1.318 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.4883, allocations: 2.11 MB / 1.32 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.4917, allocations: 1.236 MB / 1.321 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.293e-05/0.4918, allocations: 86.69 kB / 1.321 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/0.4921, allocations: 120.1 kB / 1.321 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005959/0.4981, allocations: 2.674 MB / 1.324 GB, free: 7.738 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.4981, allocations: 11.89 kB / 1.324 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.4983, allocations: 51.98 kB / 1.324 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006117/0.4989, allocations: 194.1 kB / 1.324 GB, free: 7.484 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007532/0.5065, allocations: 2.795 MB / 1.327 GB, free: 4.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.5232, allocations: 10.36 MB / 1.337 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006055/0.5292, allocations: 2.175 MB / 1.339 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/0.5322, allocations: 1.205 MB / 1.34 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-05/0.5323, allocations: 20.97 kB / 1.34 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.5323, allocations: 43.56 kB / 1.34 GB, free: 6.285 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.166e-06/0.5323, allocations: 3.938 kB / 1.34 GB, free: 6.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.05838/0.5907, allocations: 16 MB / 1.356 GB, free: 6.238 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.5908, allocations: 64.72 kB / 1.356 GB, free: 6.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.5929, allocations: 1.176 MB / 1.357 GB, free: 4.973 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003037/0.5932, allocations: 49.7 kB / 1.357 GB, free: 4.918 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007248/0.5939, allocations: 0.7568 MB / 1.358 GB, free: 4.156 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008098/0.5948, allocations: 0.5383 MB / 1.359 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007339/0.5955, allocations: 295.5 kB / 1.359 GB, free: 3.316 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5956, allocations: 309 kB / 1.359 GB, free: 3.012 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/0.5993, allocations: 1.503 MB / 1.361 GB, free: 1.508 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/0.6033, allocations: 1.784 MB / 1.362 GB, free: 15.63 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007762/0.611, allocations: 3.362 MB / 1.366 GB, free: 12.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.611, allocations: 8 kB / 1.366 GB, free: 12.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01442/0.6255, allocations: 5.215 MB / 1.371 GB, free: 6.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.6255, allocations: 9.875 kB / 1.371 GB, free: 6.902 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.6255, allocations: 4 kB / 1.371 GB, free: 6.898 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007463/0.633, allocations: 1.885 MB / 1.373 GB, free: 4.992 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.635, allocations: 411.3 kB / 1.373 GB, free: 4.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03624/0.6712, allocations: 23.34 MB / 1.396 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.674, allocations: 307.5 kB / 1.396 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003993/0.6744, allocations: 67.97 kB / 1.396 GB, free: 11.98 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00123/0.6756, allocations: 465.9 kB / 1.397 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005954/0.6762, allocations: 182.9 kB / 1.397 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.6915, allocations: 5.253 MB / 1.402 GB, free: 6.035 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.6915, allocations: 16 kB / 1.402 GB, free: 6.02 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.786e-05/0.6915, allocations: 16 kB / 1.402 GB, free: 6.004 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.6916, allocations: 7.969 kB / 1.402 GB, free: 5.996 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/0.7114, allocations: 7.332 MB / 1.409 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.7114, allocations: 8.031 kB / 1.409 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.7131, allocations: 351.4 kB / 1.409 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006715/0.7199, allocations: 1.699 MB / 1.411 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003573/0.7202, allocations: 43.97 kB / 1.411 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03246/0.7527, allocations: 22.5 MB / 1.433 GB, free: 5.02 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.7527, allocations: 12.05 kB / 1.433 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/0.7663, allocations: 4.837 MB / 1.438 GB, free: 84 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.7677, allocations: 430.8 kB / 1.438 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004797/0.7682, allocations: 28.47 kB / 1.438 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/0.7704, allocations: 319.5 kB / 1.439 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/0.771, allocations: 156.7 kB / 1.439 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/0.7712, allocations: 59.95 kB / 1.439 GB, free: 15.11 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001443/0.7726, allocations: 0.786 MB / 1.439 GB, free: 14.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7726, allocations: 7.875 kB / 1.44 GB, free: 14.31 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00253/0.7751, allocations: 0.6523 MB / 1.44 GB, free: 13.66 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003828/0.7755, allocations: 145 kB / 1.44 GB, free: 13.51 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01205/0.7876, allocations: 4.925 MB / 1.445 GB, free: 8.48 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/0.7876, allocations: 4 kB / 1.445 GB, free: 8.477 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007744/0.7953, allocations: 3.261 MB / 1.448 GB, free: 5.109 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/0.7983, allocations: 0.5571 MB / 1.449 GB, free: 4.57 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.8086, allocations: 4.354 MB / 1.453 GB, free: 164 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/0.811, allocations: 1.568 MB / 1.455 GB, free: 14.55 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001803/0.8128, allocations: 386.4 kB / 1.455 GB, free: 14.17 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.8132, allocations: 107.4 kB / 1.455 GB, free: 14.07 MB / 1.17 GB Notification: Performance of SimCode: time 8.22e-07/0.8132, allocations: 0 / 1.455 GB, free: 14.07 MB / 1.17 GB Notification: Performance of Templates: time 0.08363/0.8969, allocations: 47.12 MB / 1.501 GB, free: 15.41 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.482928890734911]