Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.007598/0.007598, allocations: 110.3 kB / 15.74 MB, free: 6.453 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.00168/0.00168, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.666/2.666, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.45 kB / 0.9509 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3488, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02693/0.3758, allocations: 22.59 MB / 1.11 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.3886, allocations: 6.225 MB / 1.116 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003961/0.3926, allocations: 95.5 kB / 1.116 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005488/0.3982, allocations: 1.537 MB / 1.118 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006642/0.4049, allocations: 1.629 MB / 1.119 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00455/0.4095, allocations: 1.359 MB / 1.121 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00875/0.4182, allocations: 5.939 MB / 1.126 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008234/0.4265, allocations: 6.041 MB / 1.132 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004655/0.4312, allocations: 2.422 MB / 1.135 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005328/0.4365, allocations: 2.862 MB / 1.137 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.4378, allocations: 456 kB / 1.138 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.441, allocations: 1.1 MB / 1.139 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.4436, allocations: 2.035 MB / 1.141 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.4469, allocations: 2.159 MB / 1.143 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008552/0.4555, allocations: 7.299 MB / 1.15 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.4556, allocations: 4 kB / 1.15 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.436e-06/0.4556, allocations: 0 / 1.15 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002185/0.4558, allocations: 3.938 kB / 1.15 GB, free: 1.469 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009955/0.4658, allocations: 3.816 MB / 1.154 GB, free: 13.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4658, allocations: 8.031 kB / 1.154 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006344/0.4722, allocations: 1.217 MB / 1.155 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00684/0.479, allocations: 2.332 MB / 1.157 GB, free: 9.969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.4793, allocations: 242.4 kB / 1.158 GB, free: 9.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.4804, allocations: 315.9 kB / 1.158 GB, free: 9.422 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.4957, allocations: 6.212 MB / 1.164 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.4959, allocations: 11.94 kB / 1.164 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004771/0.4963, allocations: 139.9 kB / 1.164 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006505/0.497, allocations: 406.3 kB / 1.165 GB, free: 2.406 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.507, allocations: 4.662 MB / 1.169 GB, free: 13.73 MB / 0.9356 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.03837/0.5454, allocations: 28.95 MB / 1.197 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.5478, allocations: 1.412 MB / 1.199 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.5497, allocations: 1.483 MB / 1.2 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-05/0.5498, allocations: 17 kB / 1.2 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.5498, allocations: 43.56 kB / 1.2 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 3.095e-06/0.5498, allocations: 0 / 1.2 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of matching and sorting (n=179): time 0.1462/0.696, allocations: 37.24 MB / 1.237 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.6961, allocations: 77.34 kB / 1.237 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.6984, allocations: 1.431 MB / 1.238 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002975/0.6987, allocations: 49.7 kB / 1.238 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.6997, allocations: 1.542 MB / 1.24 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007775/0.7005, allocations: 0.6084 MB / 1.24 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007957/0.7013, allocations: 383.3 kB / 1.241 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7015, allocations: 301.1 kB / 1.241 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/0.704, allocations: 1.78 MB / 1.243 GB, free: 15.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/0.7071, allocations: 2.354 MB / 1.245 GB, free: 12.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005851/0.713, allocations: 4.387 MB / 1.249 GB, free: 8.301 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/0.713, allocations: 8 kB / 1.249 GB, free: 8.293 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.7073/1.42, allocations: 8.567 MB / 1.258 GB, free: 153.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/1.42, allocations: 13.14 kB / 1.258 GB, free: 153.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/1.421, allocations: 17 kB / 1.258 GB, free: 153.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01689/1.437, allocations: 4.631 MB / 1.262 GB, free: 153.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.439, allocations: 303.3 kB / 1.262 GB, free: 153.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05043/1.489, allocations: 32.6 MB / 1.294 GB, free: 137.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/1.492, allocations: 149.3 kB / 1.294 GB, free: 137.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.492, allocations: 81.84 kB / 1.294 GB, free: 137.4 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 {(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.002176/1.494, allocations: 1.326 MB / 1.296 GB, free: 136.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005435/1.495, allocations: 197.2 kB / 1.296 GB, free: 136.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/1.512, allocations: 8.446 MB / 1.304 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/1.512, allocations: 16.5 kB / 1.304 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.001e-05/1.512, allocations: 30.12 kB / 1.304 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-05/1.512, allocations: 11.34 kB / 1.304 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02211/1.534, allocations: 12.84 MB / 1.317 GB, free: 127.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/1.534, allocations: 11.81 kB / 1.317 GB, free: 127.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/1.535, allocations: 169.3 kB / 1.317 GB, free: 127.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01282/1.548, allocations: 4.488 MB / 1.321 GB, free: 124.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003616/1.548, allocations: 34.84 kB / 1.321 GB, free: 124.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03812/1.586, allocations: 32.2 MB / 1.353 GB, free: 93.38 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.586, allocations: 11.94 kB / 1.353 GB, free: 93.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/1.601, allocations: 8.24 MB / 1.361 GB, free: 84.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.602, allocations: 0.6196 MB / 1.361 GB, free: 84.35 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/1.603, allocations: 43.98 kB / 1.362 GB, free: 84.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.604, allocations: 135.8 kB / 1.362 GB, free: 84.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007874/1.605, allocations: 168.9 kB / 1.362 GB, free: 84.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.605, allocations: 51.98 kB / 1.362 GB, free: 83.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001027/1.606, allocations: 0.9549 MB / 1.363 GB, free: 83.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.606, allocations: 0 / 1.363 GB, free: 83.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003396/1.61, allocations: 1.113 MB / 1.364 GB, free: 81.9 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 {(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.0003145/1.61, allocations: 160.4 kB / 1.364 GB, free: 81.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.621, allocations: 6.547 MB / 1.37 GB, free: 75.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.621, allocations: 0.875 kB / 1.37 GB, free: 75.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008559/1.63, allocations: 4.358 MB / 1.375 GB, free: 70.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.632, allocations: 0.5133 MB / 1.375 GB, free: 70.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.643, allocations: 6.8 MB / 1.382 GB, free: 63.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003409/1.646, allocations: 2.727 MB / 1.384 GB, free: 60.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001514/1.648, allocations: 388.5 kB / 1.385 GB, free: 60.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/1.648, allocations: 95.44 kB / 1.385 GB, free: 60.12 MB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/1.648, allocations: 3.938 kB / 1.385 GB, free: 60.11 MB / 1.014 GB Notification: Performance of Templates: time 0.0878/1.736, allocations: 61.12 MB / 1.445 GB, free: 15.3 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches