Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.00196/0.00196, allocations: 103.2 kB / 16.45 MB, free: 6.449 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.002317/0.002317, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.499/1.499, allocations: 230.5 MB / 252.8 MB, free: 9.109 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.373/3.373, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [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.002107/0.002107, allocations: 71.16 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04909/0.3977, allocations: 38.6 MB / 1.359 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.4193, allocations: 11.15 MB / 1.37 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004632/0.4239, allocations: 206.5 kB / 1.37 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.4362, allocations: 4.43 MB / 1.374 GB, free: 12.28 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007349/0.4436, allocations: 2.328 MB / 1.377 GB, free: 9.941 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006252/0.4498, allocations: 2.179 MB / 1.379 GB, free: 7.762 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.4628, allocations: 9.276 MB / 1.388 GB, free: 14.46 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01481/0.4776, allocations: 8.54 MB / 1.396 GB, free: 5.801 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00732/0.485, allocations: 4.102 MB / 1.4 GB, free: 1.688 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.495, allocations: 4.751 MB / 1.405 GB, free: 12.92 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003862/0.4989, allocations: 0.8281 MB / 1.406 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007819/0.5067, allocations: 1.607 MB / 1.407 GB, free: 10.48 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.007793/0.5145, allocations: 3.231 MB / 1.41 GB, free: 7.246 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00978/0.5243, allocations: 3.653 MB / 1.414 GB, free: 3.578 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.5445, allocations: 12.35 MB / 1.426 GB, free: 7.191 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.5445, allocations: 4 kB / 1.426 GB, free: 7.188 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5445, allocations: 0 / 1.426 GB, free: 7.188 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0005621/0.5451, allocations: 0 / 1.426 GB, free: 7.188 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02287/0.568, allocations: 6.474 MB / 1.432 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.568, allocations: 15.98 kB / 1.432 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/0.5754, allocations: 1.09 MB / 1.433 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008836/0.5842, allocations: 3.636 MB / 1.437 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004806/0.5847, allocations: 423.8 kB / 1.437 GB, free: 11.42 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/0.5871, allocations: 0.5432 MB / 1.438 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.6093, allocations: 9.377 MB / 1.447 GB, free: 1.168 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.6094, allocations: 19.83 kB / 1.447 GB, free: 1.148 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008944/0.6103, allocations: 248 kB / 1.447 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006602/0.611, allocations: 430.9 kB / 1.448 GB, free: 496 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/0.6281, allocations: 7.116 MB / 1.455 GB, free: 9.359 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05533/0.6835, allocations: 41.07 MB / 1.495 GB, free: 12.55 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006516/0.69, allocations: 2.908 MB / 1.498 GB, free: 9.633 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003757/0.6937, allocations: 1.95 MB / 1.499 GB, free: 7.688 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.694, allocations: 26 kB / 1.5 GB, free: 7.66 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.318e-05/0.694, allocations: 60.5 kB / 1.5 GB, free: 7.594 MB / 1.201 GB Notification: Performance of pre-optimization done (n=209): time 4.559e-06/0.6941, allocations: 0 / 1.5 GB, free: 7.594 MB / 1.201 GB Notification: Performance of matching and sorting (n=212): time 0.02705/0.7211, allocations: 10.57 MB / 1.51 GB, free: 12.93 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.7212, allocations: 77.34 kB / 1.51 GB, free: 12.84 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.7245, allocations: 2.01 MB / 1.512 GB, free: 10.81 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.7247, allocations: 65.7 kB / 1.512 GB, free: 10.74 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.7266, allocations: 2.482 MB / 1.514 GB, free: 8.234 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008704/0.7275, allocations: 0.7669 MB / 1.515 GB, free: 7.461 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.7285, allocations: 481.5 kB / 1.516 GB, free: 6.984 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7286, allocations: 305.1 kB / 1.516 GB, free: 6.684 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.7309, allocations: 1.368 MB / 1.517 GB, free: 5.312 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/0.7338, allocations: 2.104 MB / 1.519 GB, free: 2.895 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005543/0.7394, allocations: 3.766 MB / 1.523 GB, free: 14.82 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.7394, allocations: 12 kB / 1.523 GB, free: 14.8 MB / 1.232 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009108/0.7485, allocations: 5.023 MB / 1.528 GB, free: 9.758 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.7486, allocations: 12 kB / 1.528 GB, free: 9.746 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/0.7486, allocations: 24 kB / 1.528 GB, free: 9.723 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003923/0.7525, allocations: 1.585 MB / 1.529 GB, free: 8.129 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.7543, allocations: 455.2 kB / 1.53 GB, free: 7.684 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02639/0.7807, allocations: 18.59 MB / 1.548 GB, free: 4.535 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.7833, allocations: 147.9 kB / 1.548 GB, free: 4.391 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004939/0.7838, allocations: 112 kB / 1.548 GB, free: 4.281 MB / 1.248 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003904/0.7877, allocations: 1.93 MB / 1.55 GB, free: 2.34 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008085/0.7885, allocations: 306.1 kB / 1.55 GB, free: 2.039 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008558/0.7971, allocations: 4.4 MB / 1.555 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.7971, allocations: 20 kB / 1.555 GB, free: 13.59 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/0.7972, allocations: 16 kB / 1.555 GB, free: 13.57 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.7972, allocations: 7.969 kB / 1.555 GB, free: 13.57 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/0.8162, allocations: 9.617 MB / 1.564 GB, free: 3.801 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8162, allocations: 4 kB / 1.564 GB, free: 3.797 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.8173, allocations: 239.6 kB / 1.564 GB, free: 3.562 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003842/0.8212, allocations: 1.423 MB / 1.566 GB, free: 2.129 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.8214, allocations: 44 kB / 1.566 GB, free: 2.086 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02736/0.8487, allocations: 18.59 MB / 1.584 GB, free: 14.93 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.8487, allocations: 4 kB / 1.584 GB, free: 14.93 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008932/0.8576, allocations: 4.507 MB / 1.588 GB, free: 10.34 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/0.8593, allocations: 0.6475 MB / 1.589 GB, free: 9.668 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006545/0.86, allocations: 39.94 kB / 1.589 GB, free: 9.629 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.8617, allocations: 116.1 kB / 1.589 GB, free: 9.516 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000595/0.8623, allocations: 181.6 kB / 1.589 GB, free: 9.34 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/0.8624, allocations: 64 kB / 1.589 GB, free: 9.277 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002635/0.8651, allocations: 1.323 MB / 1.591 GB, free: 7.945 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8651, allocations: 0 / 1.591 GB, free: 7.945 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004073/0.8692, allocations: 1.137 MB / 1.592 GB, free: 6.809 MB / 1.295 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004128/0.8696, allocations: 173 kB / 1.592 GB, free: 6.633 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008432/0.878, allocations: 4.543 MB / 1.596 GB, free: 2.039 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.878, allocations: 1 kB / 1.596 GB, free: 2.039 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005222/0.8832, allocations: 2.812 MB / 1.599 GB, free: 15.18 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00476/0.888, allocations: 0.8988 MB / 1.6 GB, free: 14.3 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/0.909, allocations: 9.419 MB / 1.609 GB, free: 4.785 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006294/0.9153, allocations: 3.694 MB / 1.613 GB, free: 1.055 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002312/0.9176, allocations: 0.5634 MB / 1.613 GB, free: 496 kB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005917/0.9182, allocations: 147.4 kB / 1.614 GB, free: 348 kB / 1.311 GB Notification: Performance of SimCode: time 1.002e-06/0.9182, allocations: 0 / 1.614 GB, free: 348 kB / 1.311 GB Notification: Performance of Templates: time 0.7709/1.689, allocations: 52.3 MB / 1.665 GB, free: 250.3 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.768093687016517]