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.001655/0.001655, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001815/0.001815, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.565/1.565, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.607/2.607, allocations: 437.1 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.58 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0291/0.3236, allocations: 23.42 MB / 1.041 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.3355, allocations: 6.488 MB / 1.047 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.3374, allocations: 95.56 kB / 1.047 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.3414, allocations: 1.493 MB / 1.049 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.3459, allocations: 1.82 MB / 1.051 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.3496, allocations: 1.456 MB / 1.052 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008472/0.3581, allocations: 6.935 MB / 1.059 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009996/0.3681, allocations: 6.993 MB / 1.066 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004432/0.3726, allocations: 2.832 MB / 1.068 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005506/0.3781, allocations: 3.474 MB / 1.072 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.3794, allocations: 0.5312 MB / 1.072 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.3822, allocations: 1.178 MB / 1.073 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.4919/0.8741, allocations: 2.454 MB / 1.076 GB, free: 28.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005356/0.8795, allocations: 2.534 MB / 1.078 GB, free: 28.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.891, allocations: 8.462 MB / 1.087 GB, free: 27.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.891, allocations: 0 / 1.087 GB, free: 27.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.694e-06/0.891, allocations: 0 / 1.087 GB, free: 27.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002848/0.8913, allocations: 1.938 kB / 1.087 GB, free: 27.45 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.0156/0.9069, allocations: 4.426 MB / 1.091 GB, free: 25.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.907, allocations: 10.59 kB / 1.091 GB, free: 25.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.9175, allocations: 1.679 MB / 1.092 GB, free: 25.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007945/0.9255, allocations: 2.575 MB / 1.095 GB, free: 24.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/0.9259, allocations: 277.6 kB / 1.095 GB, free: 24.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002777/0.9287, allocations: 359 kB / 1.096 GB, free: 24.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.9502, allocations: 7.491 MB / 1.103 GB, free: 23.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.9504, allocations: 21.78 kB / 1.103 GB, free: 23.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008598/0.9512, allocations: 156.8 kB / 1.103 GB, free: 23.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006389/0.9519, allocations: 486.7 kB / 1.104 GB, free: 23.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.9631, allocations: 5.695 MB / 1.109 GB, free: 21.47 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03689/1, allocations: 31.72 MB / 1.14 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/1.004, allocations: 2.102 MB / 1.142 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/1.007, allocations: 2.171 MB / 1.144 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/1.007, allocations: 15.47 kB / 1.144 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/1.007, allocations: 49.12 kB / 1.144 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 3.216e-06/1.007, allocations: 1.031 kB / 1.144 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.3385/1.346, allocations: 77 MB / 1.22 GB, free: 9.262 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/1.346, allocations: 77.41 kB / 1.22 GB, free: 9.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/1.349, allocations: 1.67 MB / 1.221 GB, free: 7.461 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0008357/1.35, allocations: 65.7 kB / 1.221 GB, free: 7.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/1.352, allocations: 1.748 MB / 1.223 GB, free: 5.629 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/1.353, allocations: 0.8523 MB / 1.224 GB, free: 4.781 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/1.355, allocations: 485.2 kB / 1.224 GB, free: 4.301 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.355, allocations: 305.1 kB / 1.225 GB, free: 4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004447/1.36, allocations: 2.73 MB / 1.227 GB, free: 1.266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/1.365, allocations: 3.334 MB / 1.23 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00966/1.374, allocations: 6.395 MB / 1.237 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/1.374, allocations: 4 kB / 1.237 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03628/1.411, allocations: 14.68 MB / 1.251 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/1.411, allocations: 12 kB / 1.251 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/1.411, allocations: 16 kB / 1.251 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03269/1.443, allocations: 9.298 MB / 1.26 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.445, allocations: 300 kB / 1.26 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09568/1.541, allocations: 52.41 MB / 1.312 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/1.544, allocations: 219.7 kB / 1.312 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008446/1.545, allocations: 104 kB / 1.312 GB, free: 9.605 MB / 1.014 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.004448/1.55, allocations: 1.582 MB / 1.314 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009375/1.551, allocations: 245 kB / 1.314 GB, free: 7.793 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03784/1.589, allocations: 14.75 MB / 1.328 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.253e-05/1.589, allocations: 24 kB / 1.328 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001836/1.589, allocations: 44 kB / 1.328 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.019e-05/1.589, allocations: 15.95 kB / 1.328 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05236/1.641, allocations: 20.52 MB / 1.348 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.884e-05/1.641, allocations: 11.98 kB / 1.348 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009364/1.642, allocations: 161.3 kB / 1.348 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03258/1.675, allocations: 9.061 MB / 1.357 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007425/1.676, allocations: 48 kB / 1.357 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09206/1.768, allocations: 51.94 MB / 1.408 GB, free: 6.652 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.768, allocations: 11.75 kB / 1.408 GB, free: 6.645 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03619/1.804, allocations: 14.37 MB / 1.422 GB, free: 8.332 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.807, allocations: 0.8454 MB / 1.423 GB, free: 7.465 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009173/1.807, allocations: 51.94 kB / 1.423 GB, free: 7.414 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.81, allocations: 207.7 kB / 1.423 GB, free: 7.211 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/1.812, allocations: 248 kB / 1.423 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003013/1.812, allocations: 64 kB / 1.423 GB, free: 6.914 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002049/1.814, allocations: 1.129 MB / 1.425 GB, free: 5.762 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.91e-07/1.814, allocations: 0 / 1.425 GB, free: 5.762 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005718/1.82, allocations: 1.609 MB / 1.426 GB, free: 4.152 MB / 1.123 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.0005107/1.82, allocations: 170 kB / 1.426 GB, free: 3.992 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02755/1.848, allocations: 11.32 MB / 1.437 GB, free: 8.68 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.848, allocations: 4.531 kB / 1.437 GB, free: 8.68 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.021/1.869, allocations: 7.301 MB / 1.444 GB, free: 1.324 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004942/1.874, allocations: 0.5582 MB / 1.445 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/1.897, allocations: 9.412 MB / 1.454 GB, free: 7.293 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005854/1.903, allocations: 3.294 MB / 1.457 GB, free: 3.961 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/1.903, allocations: 111.4 kB / 1.458 GB, free: 3.852 MB / 1.154 GB Notification: Performance of SimCode: time 1.072e-06/1.903, allocations: 4 kB / 1.458 GB, free: 3.848 MB / 1.154 GB Notification: Performance of Templates: time 0.6441/2.547, allocations: 187.6 MB / 1.641 GB, free: 370.7 MB / 1.232 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/jenkins1/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