Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008894/0.0008892, allocations: 92.7 kB / 16.02 MB, free: 80 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.001104/0.001104, allocations: 177.1 kB / 16.92 MB, free: 6.652 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437.8 MB / 0.7128 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004443, allocations: 12 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6898, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02334/0.7132, allocations: 21.79 MB / 1.045 GB, free: 9.961 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.7246, allocations: 6.187 MB / 1.051 GB, free: 3.762 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.7267, allocations: 75.56 kB / 1.051 GB, free: 3.688 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.7283, allocations: 440.7 kB / 1.052 GB, free: 3.254 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.7325, allocations: 1.537 MB / 1.053 GB, free: 1.711 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.7359, allocations: 1.1 MB / 1.054 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009392/0.7453, allocations: 8.856 MB / 1.063 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01143/0.7568, allocations: 7.174 MB / 1.07 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0035/0.7603, allocations: 1.766 MB / 1.071 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004325/0.7647, allocations: 2.605 MB / 1.074 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008549/0.7655, allocations: 207.9 kB / 1.074 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.7682, allocations: 1.018 MB / 1.075 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002513/0.7707, allocations: 1.719 MB / 1.077 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00324/0.7739, allocations: 1.825 MB / 1.079 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.7804, allocations: 6.021 MB / 1.085 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.7805, allocations: 8 kB / 1.085 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.166e-06/0.7805, allocations: 0 / 1.085 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001959/0.7807, allocations: 0 / 1.085 GB, free: 1.262 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006211/0.7869, allocations: 3.064 MB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.787, allocations: 15.98 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006313/0.7933, allocations: 1.217 MB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.7974, allocations: 2.211 MB / 1.091 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.7975, allocations: 238.4 kB / 1.091 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006334/0.7982, allocations: 319.8 kB / 1.091 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.8088, allocations: 6.212 MB / 1.098 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.501e-05/0.8089, allocations: 15.94 kB / 1.098 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003667/0.8093, allocations: 135.9 kB / 1.098 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000481/0.8097, allocations: 410.3 kB / 1.098 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007864/0.8176, allocations: 4.662 MB / 1.103 GB, free: 14.39 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03247/0.8501, allocations: 29.08 MB / 1.131 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.8522, allocations: 1.416 MB / 1.132 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.8543, allocations: 1.487 MB / 1.134 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.59e-05/0.8544, allocations: 16.98 kB / 1.134 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.8544, allocations: 39.56 kB / 1.134 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 2.645e-06/0.8544, allocations: 0 / 1.134 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1473/1.002, allocations: 36.32 MB / 1.169 GB, free: 7.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/1.002, allocations: 73.34 kB / 1.169 GB, free: 7.145 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/1.004, allocations: 1.423 MB / 1.171 GB, free: 5.715 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002366/1.004, allocations: 49.7 kB / 1.171 GB, free: 5.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/1.005, allocations: 1.55 MB / 1.172 GB, free: 4.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/1.006, allocations: 0.6123 MB / 1.173 GB, free: 3.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/1.006, allocations: 161.7 kB / 1.173 GB, free: 3.305 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/1.006, allocations: 301.1 kB / 1.173 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/1.009, allocations: 1.792 MB / 1.175 GB, free: 1.211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/1.012, allocations: 2.346 MB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005876/1.017, allocations: 4.383 MB / 1.182 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/1.017, allocations: 7.938 kB / 1.182 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01877/1.036, allocations: 8.567 MB / 1.19 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/1.036, allocations: 12.22 kB / 1.19 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.036, allocations: 20 kB / 1.19 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01566/1.052, allocations: 4.639 MB / 1.195 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/1.053, allocations: 299.5 kB / 1.195 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04558/1.099, allocations: 29.49 MB / 1.224 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.101, allocations: 151.8 kB / 1.224 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/1.101, allocations: 80 kB / 1.224 GB, free: 13.86 MB / 0.9825 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002378/1.104, allocations: 1.333 MB / 1.225 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/1.104, allocations: 197.6 kB / 1.225 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/1.122, allocations: 8.437 MB / 1.234 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/1.122, allocations: 16 kB / 1.234 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.817e-05/1.122, allocations: 31.94 kB / 1.234 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-05/1.122, allocations: 7.969 kB / 1.234 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02494/1.147, allocations: 12.86 MB / 1.246 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/1.147, allocations: 12 kB / 1.246 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000742/1.148, allocations: 163.8 kB / 1.246 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01475/1.163, allocations: 4.485 MB / 1.251 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/1.163, allocations: 40 kB / 1.251 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6152/1.778, allocations: 29.09 MB / 1.279 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.779, allocations: 12.94 kB / 1.279 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/1.795, allocations: 8.243 MB / 1.287 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.796, allocations: 0.6157 MB / 1.288 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/1.796, allocations: 46.2 kB / 1.288 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.798, allocations: 131.1 kB / 1.288 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/1.799, allocations: 169.7 kB / 1.288 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.799, allocations: 54.48 kB / 1.288 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001263/1.8, allocations: 0.9575 MB / 1.289 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.8, allocations: 0 / 1.289 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003702/1.804, allocations: 1.119 MB / 1.29 GB, free: 196.5 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000349/1.804, allocations: 154.2 kB / 1.291 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.011/1.815, allocations: 6.42 MB / 1.297 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.815, allocations: 3.75 kB / 1.297 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008863/1.824, allocations: 4.284 MB / 1.301 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/1.828, allocations: 0.4903 MB / 1.301 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.839, allocations: 8.942 MB / 1.31 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/1.841, allocations: 2.801 MB / 1.313 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/1.842, allocations: 111.4 kB / 1.313 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.223e-06/1.842, allocations: 4 kB / 1.313 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.1193/1.961, allocations: 153.6 MB / 1.463 GB, free: 25.49 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches