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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007901/0.007901, allocations: 109.9 kB / 15.71 MB, free: 6.48 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.001765/0.001765, allocations: 197.2 kB / 16.65 MB, free: 6.391 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.488/1.488, allocations: 222.9 MB / 240.3 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.3 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 62.62 kB / 0.9509 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3478, allocations: 140.4 MB / 1.088 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0271/0.375, allocations: 22.59 MB / 1.11 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.388, allocations: 6.225 MB / 1.116 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.3908, allocations: 95.5 kB / 1.116 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004898/0.3958, allocations: 1.547 MB / 1.118 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.4019, allocations: 1.629 MB / 1.119 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004815/0.4068, allocations: 1.344 MB / 1.121 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008958/0.4158, allocations: 5.939 MB / 1.126 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008978/0.4248, allocations: 6.041 MB / 1.132 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.4295, allocations: 2.419 MB / 1.135 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005368/0.4349, allocations: 2.862 MB / 1.138 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.4363, allocations: 460 kB / 1.138 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.4394, allocations: 1.1 MB / 1.139 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003025/0.4424, allocations: 2.031 MB / 1.141 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003608/0.4461, allocations: 2.171 MB / 1.143 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00854/0.4546, allocations: 7.295 MB / 1.15 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4547, allocations: 0 / 1.15 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4547, allocations: 0 / 1.15 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002317/0.4549, allocations: 0 / 1.15 GB, free: 1.395 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.009984/0.4649, allocations: 3.815 MB / 1.154 GB, free: 13.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.465, allocations: 12.03 kB / 1.154 GB, free: 13.51 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006891/0.4719, allocations: 1.213 MB / 1.155 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005807/0.4777, allocations: 2.336 MB / 1.157 GB, free: 9.895 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/0.4782, allocations: 238.4 kB / 1.158 GB, free: 9.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001664/0.4799, allocations: 323.8 kB / 1.158 GB, free: 9.344 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.4929, allocations: 6.216 MB / 1.164 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.952e-05/0.4931, allocations: 11.88 kB / 1.164 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003956/0.4935, allocations: 140 kB / 1.164 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005523/0.494, allocations: 410.2 kB / 1.165 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008644/0.5027, allocations: 4.658 MB / 1.169 GB, free: 13.65 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.03305/0.5358, allocations: 28.95 MB / 1.197 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.5381, allocations: 1.408 MB / 1.199 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.5404, allocations: 1.483 MB / 1.2 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.5406, allocations: 13 kB / 1.2 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.5406, allocations: 47.56 kB / 1.2 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 5.72e-06/0.5407, allocations: 0 / 1.2 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=179): time 0.1464/0.6871, allocations: 37.25 MB / 1.237 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.6872, allocations: 77.34 kB / 1.237 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.6903, allocations: 1.419 MB / 1.238 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003596/0.6907, allocations: 53.7 kB / 1.238 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.692, allocations: 1.542 MB / 1.24 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.6931, allocations: 0.6123 MB / 1.24 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.6942, allocations: 383.3 kB / 1.241 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6944, allocations: 301.1 kB / 1.241 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002989/0.6974, allocations: 1.784 MB / 1.243 GB, free: 15.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/0.7005, allocations: 2.346 MB / 1.245 GB, free: 12.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00608/0.7066, allocations: 4.394 MB / 1.249 GB, free: 8.227 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.7066, allocations: 12 kB / 1.249 GB, free: 8.215 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.7301/1.437, allocations: 8.559 MB / 1.258 GB, free: 153.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/1.437, allocations: 12.34 kB / 1.258 GB, free: 153.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/1.437, allocations: 18.45 kB / 1.258 GB, free: 153.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01782/1.455, allocations: 4.64 MB / 1.262 GB, free: 153.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.456, allocations: 303.4 kB / 1.262 GB, free: 153.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05106/1.507, allocations: 32.59 MB / 1.294 GB, free: 137.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.51, allocations: 157.3 kB / 1.294 GB, free: 137.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/1.51, allocations: 84.41 kB / 1.295 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.002466/1.513, allocations: 1.321 MB / 1.296 GB, free: 136.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/1.513, allocations: 201.3 kB / 1.296 GB, free: 136.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/1.53, allocations: 8.447 MB / 1.304 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/1.531, allocations: 16.5 kB / 1.304 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.17e-05/1.531, allocations: 28.31 kB / 1.304 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-05/1.531, allocations: 7.859 kB / 1.304 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.553, allocations: 12.85 MB / 1.317 GB, free: 127.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/1.553, allocations: 7.75 kB / 1.317 GB, free: 127.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007312/1.554, allocations: 160.9 kB / 1.317 GB, free: 127 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01327/1.567, allocations: 4.497 MB / 1.321 GB, free: 124.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003464/1.567, allocations: 34.12 kB / 1.321 GB, free: 124.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/1.605, allocations: 32.19 MB / 1.353 GB, free: 93.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.605, allocations: 11.94 kB / 1.353 GB, free: 93.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.619, allocations: 8.24 MB / 1.361 GB, free: 84.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.62, allocations: 0.6157 MB / 1.362 GB, free: 84.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/1.621, allocations: 36 kB / 1.362 GB, free: 84.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.622, allocations: 135.8 kB / 1.362 GB, free: 84.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007966/1.623, allocations: 172.8 kB / 1.362 GB, free: 83.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.623, allocations: 52 kB / 1.362 GB, free: 83.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001034/1.624, allocations: 0.9588 MB / 1.363 GB, free: 82.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.624, allocations: 0 / 1.363 GB, free: 82.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00362/1.628, allocations: 1.117 MB / 1.364 GB, free: 81.75 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.0003181/1.628, allocations: 153.5 kB / 1.364 GB, free: 81.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.639, allocations: 6.54 MB / 1.37 GB, free: 75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.639, allocations: 0 / 1.37 GB, free: 75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00811/1.648, allocations: 4.369 MB / 1.375 GB, free: 70.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/1.65, allocations: 0.523 MB / 1.375 GB, free: 70.08 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.662, allocations: 6.804 MB / 1.382 GB, free: 63.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/1.665, allocations: 2.723 MB / 1.385 GB, free: 60.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001044/1.666, allocations: 384.6 kB / 1.385 GB, free: 60.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/1.666, allocations: 99.42 kB / 1.385 GB, free: 59.97 MB / 1.014 GB Notification: Performance of SimCode: time 1.683e-06/1.666, allocations: 0 / 1.385 GB, free: 59.97 MB / 1.014 GB Notification: Performance of Templates: time 0.08663/1.753, allocations: 60.5 MB / 1.444 GB, free: 15.79 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