Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00186/0.00186, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002297/0.002297, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.604/1.604, allocations: 230.6 MB / 256.8 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.245/3.245, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.002072/0.002072, allocations: 66.16 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3913, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04304/0.4344, allocations: 31.53 MB / 1.358 GB, free: 1.336 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.454, allocations: 10.29 MB / 1.368 GB, free: 7.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/0.4576, allocations: 194.5 kB / 1.368 GB, free: 6.828 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.4686, allocations: 3.738 MB / 1.372 GB, free: 3.082 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006666/0.4753, allocations: 1.948 MB / 1.374 GB, free: 1.125 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006416/0.4817, allocations: 2.14 MB / 1.376 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01126/0.493, allocations: 7.319 MB / 1.383 GB, free: 7.645 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009149/0.5021, allocations: 5.154 MB / 1.388 GB, free: 2.367 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006364/0.5085, allocations: 3.299 MB / 1.391 GB, free: 15.06 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00683/0.5153, allocations: 3.68 MB / 1.395 GB, free: 11.37 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.517, allocations: 0.6484 MB / 1.395 GB, free: 10.72 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004206/0.5212, allocations: 1.661 MB / 1.397 GB, free: 9.055 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003183/0.5244, allocations: 2.611 MB / 1.4 GB, free: 6.438 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003356/0.5278, allocations: 2.342 MB / 1.402 GB, free: 4.086 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.5403, allocations: 10.17 MB / 1.412 GB, free: 9.879 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.5403, allocations: 0 / 1.412 GB, free: 9.879 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5403, allocations: 3.938 kB / 1.412 GB, free: 9.875 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002562/0.5406, allocations: 0 / 1.412 GB, free: 9.875 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01105/0.5516, allocations: 5.056 MB / 1.417 GB, free: 4.758 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5517, allocations: 8.031 kB / 1.417 GB, free: 4.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005373/0.557, allocations: 0.9735 MB / 1.418 GB, free: 3.773 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00693/0.564, allocations: 3.007 MB / 1.421 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002943/0.5643, allocations: 345.7 kB / 1.421 GB, free: 364 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008203/0.5651, allocations: 464.3 kB / 1.421 GB, free: 15.9 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.5793, allocations: 7.972 MB / 1.429 GB, free: 7.508 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.5794, allocations: 19.83 kB / 1.429 GB, free: 7.488 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000499/0.5799, allocations: 200 kB / 1.429 GB, free: 7.293 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004093/0.5804, allocations: 316.9 kB / 1.43 GB, free: 6.98 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.5907, allocations: 5.702 MB / 1.435 GB, free: 1.262 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0306/0.6213, allocations: 21.92 MB / 1.457 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.6241, allocations: 1.558 MB / 1.458 GB, free: 9.133 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.6257, allocations: 1.117 MB / 1.459 GB, free: 8.02 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.45e-05/0.6258, allocations: 13.31 kB / 1.459 GB, free: 8.004 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.6258, allocations: 47.88 kB / 1.459 GB, free: 7.949 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 6.552e-06/0.6258, allocations: 3.984 kB / 1.459 GB, free: 7.945 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01432/0.6402, allocations: 6.191 MB / 1.465 GB, free: 1.711 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.6402, allocations: 68.66 kB / 1.465 GB, free: 1.633 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.6424, allocations: 1.407 MB / 1.467 GB, free: 228 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.6425, allocations: 49.7 kB / 1.467 GB, free: 172 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001675/0.6441, allocations: 2.065 MB / 1.469 GB, free: 14.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.6446, allocations: 0.4996 MB / 1.469 GB, free: 13.58 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005816/0.6452, allocations: 351.3 kB / 1.47 GB, free: 13.23 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6454, allocations: 305.1 kB / 1.47 GB, free: 12.93 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.6468, allocations: 0.9096 MB / 1.471 GB, free: 12.02 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.6489, allocations: 1.593 MB / 1.472 GB, free: 10.12 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.6529, allocations: 2.741 MB / 1.475 GB, free: 7.062 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.6529, allocations: 8 kB / 1.475 GB, free: 7.055 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007147/0.6601, allocations: 3.496 MB / 1.479 GB, free: 3.512 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.6601, allocations: 16 kB / 1.479 GB, free: 3.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.6601, allocations: 23.98 kB / 1.479 GB, free: 3.473 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.6632, allocations: 0.9005 MB / 1.479 GB, free: 2.535 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.6644, allocations: 359.3 kB / 1.48 GB, free: 2.184 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02512/0.6896, allocations: 21.47 MB / 1.501 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.6911, allocations: 103.9 kB / 1.501 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.6913, allocations: 84 kB / 1.501 GB, free: 11.31 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003136/0.6944, allocations: 1.61 MB / 1.503 GB, free: 9.688 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.6948, allocations: 202.7 kB / 1.503 GB, free: 9.488 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/0.7008, allocations: 2.963 MB / 1.506 GB, free: 6.473 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.7009, allocations: 23.94 kB / 1.506 GB, free: 6.449 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.7009, allocations: 8 kB / 1.506 GB, free: 6.441 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.7009, allocations: 7.969 kB / 1.506 GB, free: 6.434 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.7131, allocations: 5.991 MB / 1.511 GB, free: 312 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.7131, allocations: 4 kB / 1.511 GB, free: 308 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/0.714, allocations: 171.7 kB / 1.512 GB, free: 136 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/0.7169, allocations: 0.8342 MB / 1.512 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.717, allocations: 28 kB / 1.512 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/0.7403, allocations: 20.33 MB / 1.532 GB, free: 9.676 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.7403, allocations: 7.938 kB / 1.532 GB, free: 9.668 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006263/0.7466, allocations: 3.002 MB / 1.535 GB, free: 6.551 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.7477, allocations: 378.6 kB / 1.536 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/0.748, allocations: 39.89 kB / 1.536 GB, free: 6.141 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007884/0.7488, allocations: 71.91 kB / 1.536 GB, free: 6.07 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/0.7492, allocations: 132.6 kB / 1.536 GB, free: 5.941 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.7493, allocations: 36 kB / 1.536 GB, free: 5.906 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001501/0.7508, allocations: 0.8903 MB / 1.537 GB, free: 5.023 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.7508, allocations: 0 / 1.537 GB, free: 5.023 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003188/0.754, allocations: 0.7852 MB / 1.538 GB, free: 4.238 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.7543, allocations: 140.2 kB / 1.538 GB, free: 4.094 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006955/0.7612, allocations: 3.922 MB / 1.542 GB, free: 20 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.7612, allocations: 0 / 1.542 GB, free: 20 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/0.7656, allocations: 2.662 MB / 1.544 GB, free: 13.2 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.7688, allocations: 0.7189 MB / 1.545 GB, free: 12.51 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.7824, allocations: 7.354 MB / 1.552 GB, free: 5.066 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003771/0.7862, allocations: 2.561 MB / 1.554 GB, free: 2.477 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001383/0.7876, allocations: 445.2 kB / 1.555 GB, free: 2.039 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.7879, allocations: 115.4 kB / 1.555 GB, free: 1.926 MB / 1.248 GB Notification: Performance of SimCode: time 1.513e-06/0.7879, allocations: 0 / 1.555 GB, free: 1.926 MB / 1.248 GB Notification: Performance of Templates: time 0.07318/0.8611, allocations: 41.74 MB / 1.596 GB, free: 8.906 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.134997632994782]