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.001067/0.001067, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001475/0.001474, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.41 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.497/2.497, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 8 kB / 0.8154 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8551/0.8555, allocations: 142.4 MB / 0.9545 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02166/0.8772, allocations: 20.53 MB / 0.9745 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.8892, allocations: 5.939 MB / 0.9803 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.8915, allocations: 84.09 kB / 0.9804 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.8926, allocations: 432 kB / 0.9808 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.8964, allocations: 1.348 MB / 0.9821 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.8992, allocations: 0.8314 MB / 0.9829 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00886/0.908, allocations: 6.887 MB / 0.9896 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.9181, allocations: 6.22 MB / 0.9957 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004432/0.9226, allocations: 1.805 MB / 0.9975 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00425/0.9269, allocations: 2.555 MB / 1 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.9274, allocations: 203.9 kB / 1 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.9293, allocations: 0.5386 MB / 1.001 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001999/0.9313, allocations: 1.73 MB / 1.002 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.9323, allocations: 0.7303 MB / 1.003 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006137/0.9384, allocations: 6.002 MB / 1.009 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9385, allocations: 0 / 1.009 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9385, allocations: 0 / 1.009 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002045/0.9387, allocations: 0 / 1.009 GB, free: 7.473 MB / 0.7637 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.006629/0.9453, allocations: 3.111 MB / 1.012 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.9454, allocations: 8.031 kB / 1.012 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00617/0.9516, allocations: 1.224 MB / 1.013 GB, free: 3.062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.9569, allocations: 2.158 MB / 1.015 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.9572, allocations: 234.4 kB / 1.016 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009657/0.9581, allocations: 315.8 kB / 1.016 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.9693, allocations: 6.189 MB / 1.022 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.021e-05/0.9694, allocations: 23.83 kB / 1.022 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/0.9698, allocations: 139.9 kB / 1.022 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005122/0.9703, allocations: 406.3 kB / 1.022 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008812/0.9791, allocations: 4.635 MB / 1.027 GB, free: 4.66 MB / 0.7794 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.03654/1.016, allocations: 29.06 MB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/1.018, allocations: 1.408 MB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/1.02, allocations: 1.48 MB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/1.02, allocations: 16.98 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.02, allocations: 55.45 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 3.988e-06/1.02, allocations: 0 / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=179): time 0.124/1.144, allocations: 36.31 MB / 1.094 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/1.144, allocations: 69.41 kB / 1.094 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/1.147, allocations: 1.407 MB / 1.095 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003775/1.148, allocations: 49.7 kB / 1.095 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.149, allocations: 1.542 MB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009254/1.15, allocations: 0.6123 MB / 1.097 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/1.15, allocations: 47.94 kB / 1.097 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001964/1.15, allocations: 385.9 kB / 1.098 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/1.153, allocations: 1.772 MB / 1.099 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/1.156, allocations: 2.342 MB / 1.102 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/1.159, allocations: 2.051 MB / 1.104 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/1.159, allocations: 8 kB / 1.104 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01776/1.177, allocations: 8.54 MB / 1.112 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/1.177, allocations: 16.06 kB / 1.112 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-05/1.177, allocations: 16 kB / 1.112 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01446/1.192, allocations: 4.623 MB / 1.117 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.193, allocations: 311.4 kB / 1.117 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04427/1.237, allocations: 29.43 MB / 1.146 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.239, allocations: 155.8 kB / 1.146 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/1.24, allocations: 80 kB / 1.146 GB, free: 6.91 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002451/1.242, allocations: 1.34 MB / 1.147 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/1.243, allocations: 205.5 kB / 1.147 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/1.259, allocations: 8.418 MB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/1.259, allocations: 20 kB / 1.156 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-05/1.259, allocations: 28 kB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/1.259, allocations: 7.969 kB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/1.284, allocations: 12.82 MB / 1.168 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.284, allocations: 4.125 kB / 1.168 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/1.284, allocations: 163.8 kB / 1.168 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01313/1.298, allocations: 4.486 MB / 1.173 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002987/1.298, allocations: 36 kB / 1.173 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04247/1.34, allocations: 29.06 MB / 1.201 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.34, allocations: 15.94 kB / 1.201 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/1.356, allocations: 8.214 MB / 1.209 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.358, allocations: 0.6195 MB / 1.21 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/1.358, allocations: 43.94 kB / 1.21 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.359, allocations: 135.8 kB / 1.21 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006754/1.36, allocations: 168.9 kB / 1.21 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.36, allocations: 52 kB / 1.21 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001395/1.362, allocations: 0.9431 MB / 1.211 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/1.362, allocations: 0 / 1.211 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003354/1.365, allocations: 1.117 MB / 1.212 GB, free: 1.824 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003018/1.365, allocations: 154.8 kB / 1.212 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.377, allocations: 6.416 MB / 1.219 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.377, allocations: 0 / 1.219 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00943/1.387, allocations: 4.284 MB / 1.223 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/1.389, allocations: 487.1 kB / 1.223 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.401, allocations: 8.094 MB / 1.231 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003207/1.404, allocations: 2.723 MB / 1.234 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001293/1.406, allocations: 388.5 kB / 1.234 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/1.406, allocations: 99.38 kB / 1.234 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.944e-06/1.406, allocations: 0 / 1.234 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.661/2.067, allocations: 55.57 MB / 1.288 GB, free: 268.5 MB / 1.014 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