Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001194/0.001194, allocations: 105 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 187 kB / 17.34 MB, free: 5.719 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 63.84 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02514/1.052, allocations: 23.43 MB / 1.231 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0119/1.064, allocations: 6.484 MB / 1.238 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/1.067, allocations: 95.5 kB / 1.238 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004406/1.071, allocations: 1.488 MB / 1.239 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005258/1.077, allocations: 1.82 MB / 1.241 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/1.081, allocations: 1.465 MB / 1.242 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00911/1.09, allocations: 6.908 MB / 1.249 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009583/1.1, allocations: 6.937 MB / 1.256 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004887/1.104, allocations: 2.886 MB / 1.259 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005739/1.11, allocations: 3.47 MB / 1.262 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001631/1.112, allocations: 0.5273 MB / 1.263 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/1.116, allocations: 1.178 MB / 1.264 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003425/1.119, allocations: 2.464 MB / 1.266 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003736/1.123, allocations: 2.528 MB / 1.269 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009242/1.132, allocations: 8.524 MB / 1.277 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.132, allocations: 0 / 1.277 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.132, allocations: 0 / 1.277 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002995/1.132, allocations: 0 / 1.277 GB, free: 7.148 MB / 0.9981 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.01211/1.145, allocations: 4.432 MB / 1.281 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/1.145, allocations: 12.03 kB / 1.281 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009399/1.154, allocations: 1.677 MB / 1.283 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006212/1.16, allocations: 2.7 MB / 1.286 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002893/1.161, allocations: 279.7 kB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/1.162, allocations: 356.3 kB / 1.286 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/1.179, allocations: 7.483 MB / 1.294 GB, free: 5.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/1.18, allocations: 15.88 kB / 1.294 GB, free: 5.812 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/1.181, allocations: 159.9 kB / 1.294 GB, free: 5.656 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006398/1.182, allocations: 487.3 kB / 1.294 GB, free: 5.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/1.193, allocations: 5.705 MB / 1.3 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03999/1.233, allocations: 31.5 MB / 1.33 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/1.236, allocations: 2.094 MB / 1.333 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/1.239, allocations: 2.178 MB / 1.335 GB, free: 8.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/1.239, allocations: 17.3 kB / 1.335 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.239, allocations: 51.86 kB / 1.335 GB, free: 8.832 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 3.627e-06/1.239, allocations: 4 kB / 1.335 GB, free: 8.828 MB / 1.061 GB Notification: Performance of matching and sorting (n=251): time 0.3223/1.562, allocations: 77.01 MB / 1.41 GB, free: 11.67 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.562, allocations: 77.41 kB / 1.41 GB, free: 11.59 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/1.566, allocations: 1.677 MB / 1.412 GB, free: 9.863 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0009499/1.567, allocations: 73.69 kB / 1.412 GB, free: 9.785 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001818/1.569, allocations: 1.735 MB / 1.413 GB, free: 8.027 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001791/1.571, allocations: 0.8549 MB / 1.414 GB, free: 7.16 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/1.573, allocations: 481.2 kB / 1.415 GB, free: 6.684 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.573, allocations: 301.1 kB / 1.415 GB, free: 6.387 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/1.577, allocations: 2.73 MB / 1.418 GB, free: 3.652 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/1.582, allocations: 3.332 MB / 1.421 GB, free: 76 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008684/1.591, allocations: 6.401 MB / 1.427 GB, free: 9.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/1.591, allocations: 4 kB / 1.427 GB, free: 9.426 MB / 1.154 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03433/1.625, allocations: 14.67 MB / 1.441 GB, free: 10.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/1.625, allocations: 12 kB / 1.441 GB, free: 10.69 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-05/1.625, allocations: 20 kB / 1.442 GB, free: 10.67 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03107/1.656, allocations: 9.236 MB / 1.451 GB, free: 1.41 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.658, allocations: 299.5 kB / 1.451 GB, free: 1.117 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08442/1.742, allocations: 52.34 MB / 1.502 GB, free: 11.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/1.746, allocations: 227.7 kB / 1.502 GB, free: 11.67 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008572/1.747, allocations: 99.94 kB / 1.502 GB, free: 11.57 MB / 1.232 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.003738/1.751, allocations: 1.589 MB / 1.504 GB, free: 9.973 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008592/1.752, allocations: 245 kB / 1.504 GB, free: 9.73 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03382/1.786, allocations: 14.75 MB / 1.518 GB, free: 10.92 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.786, allocations: 28 kB / 1.518 GB, free: 10.89 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001894/1.786, allocations: 44 kB / 1.519 GB, free: 10.85 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-05/1.786, allocations: 11.95 kB / 1.519 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04356/1.83, allocations: 20.52 MB / 1.539 GB, free: 6.117 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/1.83, allocations: 8 kB / 1.539 GB, free: 6.109 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/1.831, allocations: 159.8 kB / 1.539 GB, free: 5.953 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02894/1.86, allocations: 9.011 MB / 1.548 GB, free: 12.91 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006453/1.86, allocations: 48 kB / 1.548 GB, free: 12.87 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8862/2.746, allocations: 51.91 MB / 1.598 GB, free: 313.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/2.747, allocations: 11.72 kB / 1.598 GB, free: 313.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02744/2.774, allocations: 14.37 MB / 1.612 GB, free: 304.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/2.776, allocations: 0.8438 MB / 1.613 GB, free: 304.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005182/2.776, allocations: 51.98 kB / 1.613 GB, free: 304.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/2.778, allocations: 207.7 kB / 1.613 GB, free: 303.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/2.78, allocations: 244.5 kB / 1.614 GB, free: 303.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/2.78, allocations: 64 kB / 1.614 GB, free: 303.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001257/2.781, allocations: 1.129 MB / 1.615 GB, free: 302.4 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.41e-07/2.781, allocations: 0 / 1.615 GB, free: 302.4 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004453/2.786, allocations: 1.612 MB / 1.616 GB, free: 300.8 MB / 1.279 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.0004049/2.786, allocations: 166 kB / 1.617 GB, free: 300.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01978/2.806, allocations: 10.54 MB / 1.627 GB, free: 290.1 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/2.806, allocations: 0 / 1.627 GB, free: 290.1 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01672/2.823, allocations: 7.317 MB / 1.634 GB, free: 282.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/2.826, allocations: 0.5568 MB / 1.634 GB, free: 282.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/2.841, allocations: 9.315 MB / 1.644 GB, free: 272.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/2.845, allocations: 3.296 MB / 1.647 GB, free: 269.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/2.845, allocations: 115.4 kB / 1.647 GB, free: 269.4 MB / 1.279 GB Notification: Performance of SimCode: time 1.022e-06/2.845, allocations: 0 / 1.647 GB, free: 269.4 MB / 1.279 GB Notification: Performance of Templates: time 0.1379/2.983, allocations: 187.8 MB / 1.83 GB, free: 81.38 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches