Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 196.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6112, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03083/0.6421, allocations: 23.42 MB / 1.04 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.6561, allocations: 6.473 MB / 1.047 GB, free: 4.516 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.6585, allocations: 99.5 kB / 1.047 GB, free: 4.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.6628, allocations: 1.501 MB / 1.048 GB, free: 2.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.6672, allocations: 1.82 MB / 1.05 GB, free: 1.082 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.6709, allocations: 1.462 MB / 1.051 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008854/0.6797, allocations: 6.927 MB / 1.058 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.6903, allocations: 6.99 MB / 1.065 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004803/0.6951, allocations: 2.835 MB / 1.068 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005822/0.701, allocations: 3.47 MB / 1.071 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.7025, allocations: 0.5273 MB / 1.072 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.7056, allocations: 1.178 MB / 1.073 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003684/0.7093, allocations: 2.464 MB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005329/0.7147, allocations: 2.532 MB / 1.078 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.7266, allocations: 8.468 MB / 1.086 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.7267, allocations: 0 / 1.086 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7267, allocations: 0 / 1.086 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002631/0.7269, allocations: 0 / 1.086 GB, free: 12.06 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01214/0.7391, allocations: 4.428 MB / 1.09 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.7392, allocations: 8.031 kB / 1.09 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009261/0.7484, allocations: 1.685 MB / 1.092 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007174/0.7556, allocations: 2.571 MB / 1.094 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.756, allocations: 275.7 kB / 1.095 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001943/0.758, allocations: 356.3 kB / 1.095 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.7737, allocations: 7.491 MB / 1.102 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.7739, allocations: 19.78 kB / 1.102 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006005/0.7745, allocations: 159.9 kB / 1.102 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006547/0.7752, allocations: 479.3 kB / 1.103 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.7868, allocations: 5.705 MB / 1.108 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/0.8297, allocations: 31.71 MB / 1.139 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.833, allocations: 2.093 MB / 1.141 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003281/0.8363, allocations: 2.178 MB / 1.144 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.8365, allocations: 21.25 kB / 1.144 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.8365, allocations: 47.88 kB / 1.144 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.737e-06/0.8365, allocations: 0 / 1.144 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.346/1.183, allocations: 77 MB / 1.219 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/1.183, allocations: 77.41 kB / 1.219 GB, free: 424 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/1.186, allocations: 1.67 MB / 1.221 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0006089/1.187, allocations: 69.64 kB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/1.189, allocations: 1.747 MB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.19, allocations: 0.8587 MB / 1.223 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/1.191, allocations: 485.2 kB / 1.224 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.192, allocations: 301.1 kB / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00457/1.196, allocations: 2.73 MB / 1.227 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005271/1.201, allocations: 3.332 MB / 1.23 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.211, allocations: 6.393 MB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/1.212, allocations: 7.938 kB / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.6038/1.815, allocations: 14.67 MB / 1.25 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/1.815, allocations: 12.42 kB / 1.25 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/1.815, allocations: 20.97 kB / 1.25 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03649/1.852, allocations: 9.304 MB / 1.26 GB, free: 208 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.854, allocations: 297.5 kB / 1.26 GB, free: 208 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07946/1.933, allocations: 52.38 MB / 1.311 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/1.937, allocations: 227.7 kB / 1.311 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005808/1.937, allocations: 96 kB / 1.311 GB, free: 180.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003469/1.941, allocations: 1.588 MB / 1.313 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007889/1.942, allocations: 243.1 kB / 1.313 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03073/1.972, allocations: 14.76 MB / 1.327 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/1.972, allocations: 24 kB / 1.327 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002903/1.973, allocations: 44 kB / 1.328 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.729e-05/1.973, allocations: 11.95 kB / 1.328 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04242/2.015, allocations: 20.51 MB / 1.348 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/2.015, allocations: 8.875 kB / 1.348 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/2.016, allocations: 155.8 kB / 1.348 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02809/2.044, allocations: 9.068 MB / 1.357 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/2.045, allocations: 52 kB / 1.357 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07322/2.119, allocations: 51.96 MB / 1.407 GB, free: 80.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/2.119, allocations: 11.94 kB / 1.407 GB, free: 80.95 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03096/2.15, allocations: 14.37 MB / 1.421 GB, free: 66.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/2.152, allocations: 0.8454 MB / 1.422 GB, free: 65.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009514/2.153, allocations: 53.25 kB / 1.422 GB, free: 65.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/2.156, allocations: 207.7 kB / 1.422 GB, free: 65.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002174/2.158, allocations: 233.5 kB / 1.423 GB, free: 65.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004654/2.158, allocations: 67.94 kB / 1.423 GB, free: 65.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002373/2.161, allocations: 1.134 MB / 1.424 GB, free: 63.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/2.161, allocations: 0 / 1.424 GB, free: 63.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006177/2.167, allocations: 1.609 MB / 1.425 GB, free: 62.27 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005535/2.168, allocations: 166.7 kB / 1.426 GB, free: 62.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02349/2.191, allocations: 11.33 MB / 1.437 GB, free: 50.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/2.191, allocations: 0 / 1.437 GB, free: 50.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01749/2.209, allocations: 7.316 MB / 1.444 GB, free: 43.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/2.213, allocations: 0.5458 MB / 1.444 GB, free: 42.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/2.231, allocations: 8.794 MB / 1.453 GB, free: 33.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004439/2.235, allocations: 3.224 MB / 1.456 GB, free: 30.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001209/2.237, allocations: 391.3 kB / 1.456 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/2.237, allocations: 103.4 kB / 1.457 GB, free: 30.23 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/2.237, allocations: 0 / 1.457 GB, free: 30.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.1542/2.391, allocations: 91.83 MB / 1.546 GB, free: 2.695 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches