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.0009971/0.0009969, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001664/0.001664, allocations: 181.8 kB / 16.28 MB, free: 6.656 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.481/2.481, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.7956, allocations: 142.4 MB / 0.9551 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02695/0.8226, allocations: 22.58 MB / 0.9771 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.8364, allocations: 6.445 MB / 0.9834 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.8393, allocations: 81.28 kB / 0.9835 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.8415, allocations: 468 kB / 0.9839 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00644/0.8479, allocations: 1.743 MB / 0.9856 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.8519, allocations: 1.203 MB / 0.9868 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01222/0.8641, allocations: 10.6 MB / 0.9972 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/0.8778, allocations: 8.062 MB / 1.005 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005032/0.8829, allocations: 2.077 MB / 1.007 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006173/0.8891, allocations: 3.189 MB / 1.01 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.8904, allocations: 248 kB / 1.01 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.8938, allocations: 1.061 MB / 1.011 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003567/0.8974, allocations: 2.101 MB / 1.013 GB, free: 3.289 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.006283/0.9037, allocations: 2.132 MB / 1.016 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.9163, allocations: 8.136 MB / 1.024 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9164, allocations: 0 / 1.024 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9164, allocations: 0 / 1.024 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002967/0.9167, allocations: 0 / 1.024 GB, free: 8.98 MB / 0.7794 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.009505/0.9262, allocations: 3.566 MB / 1.027 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.9263, allocations: 12.03 kB / 1.027 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00883/0.9351, allocations: 1.689 MB / 1.029 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005058/0.9402, allocations: 2.563 MB / 1.031 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.9404, allocations: 279.7 kB / 1.031 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008102/0.9412, allocations: 360.2 kB / 1.032 GB, free: 408 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.9549, allocations: 7.498 MB / 1.039 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.753e-05/0.9551, allocations: 11.88 kB / 1.039 GB, free: 8.621 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004936/0.9556, allocations: 163.9 kB / 1.039 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006467/0.9562, allocations: 487.3 kB / 1.04 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.9673, allocations: 5.697 MB / 1.045 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03931/1.007, allocations: 31.68 MB / 1.076 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/1.01, allocations: 2.086 MB / 1.078 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/1.013, allocations: 2.17 MB / 1.08 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/1.013, allocations: 13.31 kB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.013, allocations: 51.88 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 6.192e-06/1.013, allocations: 7.922 kB / 1.08 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.3053/1.318, allocations: 75.28 MB / 1.154 GB, free: 52 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/1.319, allocations: 77.41 kB / 1.154 GB, free: 15.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/1.321, allocations: 1.666 MB / 1.156 GB, free: 14.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005095/1.322, allocations: 65.7 kB / 1.156 GB, free: 14.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.323, allocations: 1.747 MB / 1.157 GB, free: 12.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.324, allocations: 0.8587 MB / 1.158 GB, free: 11.54 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004032/1.324, allocations: 210.9 kB / 1.158 GB, free: 11.33 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.324, allocations: 305.1 kB / 1.159 GB, free: 11.03 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/1.328, allocations: 2.726 MB / 1.161 GB, free: 8.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/1.333, allocations: 3.336 MB / 1.165 GB, free: 4.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008844/1.341, allocations: 6.389 MB / 1.171 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/1.342, allocations: 8 kB / 1.171 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03419/1.376, allocations: 14.68 MB / 1.185 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/1.376, allocations: 12 kB / 1.185 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/1.376, allocations: 16.09 kB / 1.185 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0309/1.407, allocations: 9.247 MB / 1.194 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.408, allocations: 295.5 kB / 1.195 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07801/1.486, allocations: 47.15 MB / 1.241 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/1.49, allocations: 227.7 kB / 1.241 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/1.49, allocations: 96 kB / 1.241 GB, free: 5.465 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.003334/1.493, allocations: 1.582 MB / 1.243 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006531/1.494, allocations: 249.1 kB / 1.243 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03358/1.528, allocations: 14.76 MB / 1.257 GB, free: 4.805 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-05/1.528, allocations: 24 kB / 1.257 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002064/1.528, allocations: 47.98 kB / 1.257 GB, free: 4.734 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.17e-05/1.528, allocations: 15.95 kB / 1.257 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7519/2.28, allocations: 20.51 MB / 1.277 GB, free: 273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/2.28, allocations: 6.281 kB / 1.277 GB, free: 273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/2.281, allocations: 166.4 kB / 1.277 GB, free: 273 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03013/2.311, allocations: 9.002 MB / 1.286 GB, free: 271.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000571/2.311, allocations: 48.06 kB / 1.286 GB, free: 271.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06468/2.376, allocations: 46.75 MB / 1.332 GB, free: 238.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.376, allocations: 8 kB / 1.332 GB, free: 238.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03769/2.414, allocations: 14.36 MB / 1.346 GB, free: 224 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/2.417, allocations: 0.8531 MB / 1.347 GB, free: 223.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008443/2.417, allocations: 51.98 kB / 1.347 GB, free: 223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/2.421, allocations: 207.7 kB / 1.347 GB, free: 222.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001772/2.423, allocations: 241.5 kB / 1.347 GB, free: 222.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003557/2.423, allocations: 64 kB / 1.347 GB, free: 222.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002135/2.425, allocations: 1.125 MB / 1.348 GB, free: 221.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/2.425, allocations: 4 kB / 1.348 GB, free: 221.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00637/2.432, allocations: 1.617 MB / 1.35 GB, free: 219.8 MB / 1.014 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.0006049/2.432, allocations: 166 kB / 1.35 GB, free: 219.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02382/2.456, allocations: 10.36 MB / 1.36 GB, free: 209.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/2.456, allocations: 3.828 kB / 1.36 GB, free: 209.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01591/2.472, allocations: 7.143 MB / 1.367 GB, free: 202 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/2.477, allocations: 0.5246 MB / 1.368 GB, free: 201.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/2.489, allocations: 10.61 MB / 1.378 GB, free: 190.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003332/2.492, allocations: 3.231 MB / 1.381 GB, free: 187.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00136/2.493, allocations: 387.3 kB / 1.382 GB, free: 187.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/2.494, allocations: 95.44 kB / 1.382 GB, free: 187 MB / 1.014 GB Notification: Performance of SimCode: time 1.343e-06/2.494, allocations: 3.938 kB / 1.382 GB, free: 187 MB / 1.014 GB Notification: Performance of Templates: time 0.1139/2.608, allocations: 86.29 MB / 1.466 GB, free: 101 MB / 1.014 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/jenkins/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