Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001548/0.001548, allocations: 109 kB / 16.41 MB, free: 6.027 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.001764/0.001764, allocations: 184.2 kB / 17.34 MB, free: 5.633 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.84 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7549, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02706/0.782, allocations: 23.41 MB / 1.111 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.7949, allocations: 6.482 MB / 1.118 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.7976, allocations: 102.8 kB / 1.118 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004637/0.8023, allocations: 1.493 MB / 1.119 GB, free: 156 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00566/0.8079, allocations: 1.822 MB / 1.121 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.813, allocations: 1.465 MB / 1.123 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.8241, allocations: 6.904 MB / 1.129 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.8362, allocations: 6.949 MB / 1.136 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006481/0.8427, allocations: 2.872 MB / 1.139 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006719/0.8494, allocations: 3.482 MB / 1.142 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.8517, allocations: 0.5266 MB / 1.143 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.8564, allocations: 1.172 MB / 1.144 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005449/0.8619, allocations: 2.463 MB / 1.146 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007733/0.8697, allocations: 2.54 MB / 1.149 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.8849, allocations: 8.52 MB / 1.157 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.885, allocations: 0 / 1.157 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.885, allocations: 3.938 kB / 1.157 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002723/0.8853, allocations: 5.312 kB / 1.157 GB, free: 14.6 MB / 0.9044 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.01665/0.9019, allocations: 4.42 MB / 1.162 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.902, allocations: 9.125 kB / 1.162 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.9128, allocations: 1.687 MB / 1.163 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/0.9205, allocations: 2.695 MB / 1.166 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/0.9209, allocations: 269.6 kB / 1.166 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/0.9227, allocations: 369.1 kB / 1.166 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.9428, allocations: 7.485 MB / 1.174 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.943, allocations: 13.47 kB / 1.174 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.9445, allocations: 158 kB / 1.174 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007974/0.9453, allocations: 490.1 kB / 1.174 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.958, allocations: 5.7 MB / 1.18 GB, free: 240 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04295/1.001, allocations: 31.49 MB / 1.211 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/1.004, allocations: 2.088 MB / 1.213 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/1.007, allocations: 2.182 MB / 1.215 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/1.007, allocations: 17.31 kB / 1.215 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.007, allocations: 43.88 kB / 1.215 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 4.147e-06/1.007, allocations: 0 / 1.215 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.3205/1.328, allocations: 77.03 MB / 1.29 GB, free: 12.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.328, allocations: 77.41 kB / 1.29 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/1.331, allocations: 1.67 MB / 1.292 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000538/1.331, allocations: 65.7 kB / 1.292 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/1.332, allocations: 1.755 MB / 1.294 GB, free: 8.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/1.334, allocations: 0.8509 MB / 1.294 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/1.335, allocations: 485.2 kB / 1.295 GB, free: 7.445 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.335, allocations: 309.1 kB / 1.295 GB, free: 7.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.339, allocations: 2.726 MB / 1.298 GB, free: 4.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00439/1.344, allocations: 3.328 MB / 1.301 GB, free: 0.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008491/1.352, allocations: 6.393 MB / 1.307 GB, free: 10.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/1.352, allocations: 8 kB / 1.307 GB, free: 10.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03388/1.386, allocations: 14.68 MB / 1.322 GB, free: 11.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/1.386, allocations: 12 kB / 1.322 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/1.386, allocations: 19.94 kB / 1.322 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03017/1.416, allocations: 9.24 MB / 1.331 GB, free: 2.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.418, allocations: 299.4 kB / 1.331 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08356/1.501, allocations: 52.34 MB / 1.382 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/1.505, allocations: 219.7 kB / 1.382 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006406/1.506, allocations: 104 kB / 1.382 GB, free: 12.32 MB / 1.123 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.003784/1.509, allocations: 1.586 MB / 1.384 GB, free: 10.73 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008761/1.51, allocations: 249 kB / 1.384 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03423/1.544, allocations: 14.75 MB / 1.399 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/1.545, allocations: 24 kB / 1.399 GB, free: 11.65 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001614/1.545, allocations: 44 kB / 1.399 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-05/1.545, allocations: 12.28 kB / 1.399 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04588/1.591, allocations: 20.52 MB / 1.419 GB, free: 6.871 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-05/1.591, allocations: 8 kB / 1.419 GB, free: 6.863 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/1.592, allocations: 156.6 kB / 1.419 GB, free: 6.711 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02956/1.621, allocations: 9.02 MB / 1.428 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005405/1.622, allocations: 48 kB / 1.428 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08315/1.705, allocations: 51.9 MB / 1.478 GB, free: 8.832 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.705, allocations: 11.94 kB / 1.478 GB, free: 8.82 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03401/1.739, allocations: 14.36 MB / 1.492 GB, free: 10.31 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/1.741, allocations: 0.8454 MB / 1.493 GB, free: 9.445 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009964/1.742, allocations: 52 kB / 1.493 GB, free: 9.395 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/1.745, allocations: 211.7 kB / 1.494 GB, free: 9.188 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001551/1.747, allocations: 245.5 kB / 1.494 GB, free: 8.949 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003837/1.747, allocations: 67.94 kB / 1.494 GB, free: 8.883 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002154/1.749, allocations: 1.121 MB / 1.495 GB, free: 7.738 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.3e-07/1.749, allocations: 8 kB / 1.495 GB, free: 7.73 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.006414/1.756, allocations: 1.613 MB / 1.497 GB, free: 6.117 MB / 1.232 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.0006227/1.756, allocations: 155.1 kB / 1.497 GB, free: 5.957 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02398/1.78, allocations: 10.56 MB / 1.507 GB, free: 11.32 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/1.781, allocations: 4.219 kB / 1.507 GB, free: 11.32 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01912/1.8, allocations: 7.305 MB / 1.514 GB, free: 3.941 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/1.803, allocations: 0.5571 MB / 1.515 GB, free: 3.398 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.822, allocations: 9.324 MB / 1.524 GB, free: 9.984 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/1.826, allocations: 3.302 MB / 1.527 GB, free: 6.645 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/1.827, allocations: 107.4 kB / 1.527 GB, free: 6.539 MB / 1.264 GB Notification: Performance of SimCode: time 1.462e-06/1.827, allocations: 0 / 1.527 GB, free: 6.539 MB / 1.264 GB Notification: Performance of Templates: time 0.7955/2.622, allocations: 187.8 MB / 1.711 GB, free: 351.6 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches