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.002345/0.002345, 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.002923/0.002923, allocations: 211.8 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.194/3.194, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002044/0.002044, allocations: 70.78 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4013, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04772/0.449, allocations: 36.45 MB / 1.363 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02144/0.4705, allocations: 11.1 MB / 1.374 GB, free: 1.352 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.4742, allocations: 206.4 kB / 1.374 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.4856, allocations: 4.375 MB / 1.378 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006869/0.4925, allocations: 2.332 MB / 1.38 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005673/0.4981, allocations: 2.184 MB / 1.382 GB, free: 8.242 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0126/0.5107, allocations: 9.281 MB / 1.391 GB, free: 14.93 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/0.5217, allocations: 6.396 MB / 1.398 GB, free: 8.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/0.5296, allocations: 4.125 MB / 1.402 GB, free: 4.273 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008605/0.5382, allocations: 4.759 MB / 1.406 GB, free: 15.5 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.5399, allocations: 0.8242 MB / 1.407 GB, free: 14.68 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.5437, allocations: 1.502 MB / 1.409 GB, free: 13.17 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003703/0.5474, allocations: 3.235 MB / 1.412 GB, free: 9.93 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0051/0.5525, allocations: 2.965 MB / 1.415 GB, free: 6.953 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/0.5722, allocations: 12.41 MB / 1.427 GB, free: 10.51 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.5722, allocations: 8 kB / 1.427 GB, free: 10.5 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5722, allocations: 0 / 1.427 GB, free: 10.5 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004031/0.5726, allocations: 0 / 1.427 GB, free: 10.5 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.01741/0.59, allocations: 6.399 MB / 1.433 GB, free: 4.039 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5901, allocations: 12.03 kB / 1.433 GB, free: 4.027 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005404/0.5955, allocations: 1.09 MB / 1.434 GB, free: 2.934 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0086/0.6041, allocations: 3.583 MB / 1.438 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/0.6044, allocations: 423.8 kB / 1.438 GB, free: 14.87 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.6056, allocations: 0.5433 MB / 1.439 GB, free: 14.33 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.6265, allocations: 10.29 MB / 1.449 GB, free: 3.484 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.6266, allocations: 19.83 kB / 1.449 GB, free: 3.465 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007069/0.6274, allocations: 244 kB / 1.449 GB, free: 3.227 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006667/0.628, allocations: 418.9 kB / 1.449 GB, free: 2.816 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.6437, allocations: 7.116 MB / 1.456 GB, free: 11.69 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04478/0.6885, allocations: 25.36 MB / 1.481 GB, free: 1.699 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004911/0.6934, allocations: 2.898 MB / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.6964, allocations: 1.93 MB / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.6965, allocations: 26 kB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/0.6966, allocations: 60.56 kB / 1.486 GB, free: 12.78 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 5.039e-06/0.6966, allocations: 0 / 1.486 GB, free: 12.78 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02562/0.7222, allocations: 10.25 MB / 1.496 GB, free: 2.516 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.7223, allocations: 77.41 kB / 1.496 GB, free: 2.426 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.7252, allocations: 1.825 MB / 1.498 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.7254, allocations: 69.7 kB / 1.498 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001968/0.7274, allocations: 2.488 MB / 1.5 GB, free: 13.98 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008212/0.7282, allocations: 0.7746 MB / 1.501 GB, free: 13.2 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008129/0.729, allocations: 473.5 kB / 1.501 GB, free: 12.73 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7292, allocations: 305.1 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.7313, allocations: 1.372 MB / 1.503 GB, free: 11.06 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/0.734, allocations: 2.112 MB / 1.505 GB, free: 8.629 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00519/0.7392, allocations: 3.77 MB / 1.509 GB, free: 4.547 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.7392, allocations: 11.94 kB / 1.509 GB, free: 4.535 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008684/0.7479, allocations: 5.008 MB / 1.514 GB, free: 15.5 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.7479, allocations: 16 kB / 1.514 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.748, allocations: 20 kB / 1.514 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003753/0.7517, allocations: 1.578 MB / 1.515 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.7534, allocations: 451.2 kB / 1.516 GB, free: 13.44 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/0.7773, allocations: 17.78 MB / 1.533 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.7797, allocations: 143.9 kB / 1.533 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/0.7799, allocations: 108 kB / 1.533 GB, free: 11 MB / 1.232 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.003653/0.7836, allocations: 1.942 MB / 1.535 GB, free: 9.051 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/0.7842, allocations: 282.3 kB / 1.535 GB, free: 8.773 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007646/0.7919, allocations: 4.385 MB / 1.54 GB, free: 4.359 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.7919, allocations: 27.92 kB / 1.54 GB, free: 4.332 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/0.7919, allocations: 20 kB / 1.54 GB, free: 4.312 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.7919, allocations: 7.969 kB / 1.54 GB, free: 4.305 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.8076, allocations: 8.353 MB / 1.548 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.8077, allocations: 4 kB / 1.548 GB, free: 11.82 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.8087, allocations: 232.2 kB / 1.548 GB, free: 11.6 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00354/0.8122, allocations: 1.428 MB / 1.55 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.8124, allocations: 40 kB / 1.55 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02378/0.8361, allocations: 17.79 MB / 1.567 GB, free: 7.918 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.8361, allocations: 11.94 kB / 1.567 GB, free: 7.906 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007705/0.8439, allocations: 4.486 MB / 1.571 GB, free: 3.332 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/0.8457, allocations: 0.5372 MB / 1.572 GB, free: 2.793 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/0.846, allocations: 47.98 kB / 1.572 GB, free: 2.746 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.8472, allocations: 115.9 kB / 1.572 GB, free: 2.633 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005857/0.8478, allocations: 189.5 kB / 1.572 GB, free: 2.449 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.848, allocations: 60 kB / 1.572 GB, free: 2.391 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001765/0.8497, allocations: 1.165 MB / 1.573 GB, free: 1.211 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.8497, allocations: 0 / 1.573 GB, free: 1.211 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003502/0.8532, allocations: 1.137 MB / 1.575 GB, free: 76 kB / 1.264 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.000339/0.8536, allocations: 171 kB / 1.575 GB, free: 15.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007689/0.8613, allocations: 4.543 MB / 1.579 GB, free: 11.3 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.8613, allocations: 4 kB / 1.579 GB, free: 11.29 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/0.8661, allocations: 2.801 MB / 1.582 GB, free: 8.449 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/0.8697, allocations: 0.8104 MB / 1.583 GB, free: 7.652 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.8865, allocations: 9.562 MB / 1.592 GB, free: 13.99 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004299/0.8908, allocations: 3.162 MB / 1.595 GB, free: 10.79 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001934/0.8928, allocations: 0.5265 MB / 1.596 GB, free: 10.25 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.8932, allocations: 143.4 kB / 1.596 GB, free: 10.11 MB / 1.295 GB Notification: Performance of SimCode: time 1.322e-06/0.8932, allocations: 0 / 1.596 GB, free: 10.11 MB / 1.295 GB Notification: Performance of Templates: time 0.8553/1.748, allocations: 59.68 MB / 1.654 GB, free: 236.2 MB / 1.295 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 -s gbode -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/jenkins1/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.544138576005935]