Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001134/0.001134, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001137/0.001137, allocations: 168.7 kB / 15.95 MB, free: 204 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.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.071/3.071, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005218, allocations: 8.438 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4166, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02639/0.4431, allocations: 20.53 MB / 1.078 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.4547, allocations: 5.939 MB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.457, allocations: 79.5 kB / 1.084 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.4585, allocations: 428.7 kB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.463, allocations: 1.35 MB / 1.086 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.4661, allocations: 0.8188 MB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009201/0.4753, allocations: 6.885 MB / 1.093 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.4875, allocations: 6.229 MB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.4923, allocations: 1.798 MB / 1.101 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005593/0.4979, allocations: 2.558 MB / 1.104 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.4992, allocations: 200 kB / 1.104 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.5025, allocations: 0.5502 MB / 1.104 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003713/0.5062, allocations: 1.715 MB / 1.106 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.5085, allocations: 0.7381 MB / 1.107 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008171/0.5166, allocations: 6 MB / 1.113 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5167, allocations: 0 / 1.113 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5167, allocations: 0 / 1.113 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002707/0.517, allocations: 0 / 1.113 GB, free: 13.28 MB / 0.8731 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.008415/0.5254, allocations: 3.107 MB / 1.116 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5254, allocations: 8.031 kB / 1.116 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006577/0.532, allocations: 1.224 MB / 1.117 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005072/0.5371, allocations: 2.161 MB / 1.119 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.5374, allocations: 234.4 kB / 1.119 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/0.5389, allocations: 327.7 kB / 1.119 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.5539, allocations: 6.185 MB / 1.125 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.5541, allocations: 11.94 kB / 1.125 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008924/0.555, allocations: 147.9 kB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006032/0.5556, allocations: 410.2 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.5671, allocations: 4.639 MB / 1.131 GB, free: 10.46 MB / 0.8887 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.04048/0.6076, allocations: 29.06 MB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.61, allocations: 1.42 MB / 1.16 GB, free: 9.246 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.6121, allocations: 1.483 MB / 1.162 GB, free: 7.762 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.6122, allocations: 13 kB / 1.162 GB, free: 7.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.6123, allocations: 39.56 kB / 1.162 GB, free: 7.699 MB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 4.348e-06/0.6123, allocations: 4 kB / 1.162 GB, free: 7.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=179): time 0.1235/0.7358, allocations: 36.31 MB / 1.197 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.7359, allocations: 73.34 kB / 1.197 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.7384, allocations: 1.407 MB / 1.199 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.7387, allocations: 49.7 kB / 1.199 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.74, allocations: 1.539 MB / 1.2 GB, free: 208 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008462/0.7409, allocations: 0.6163 MB / 1.201 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.7411, allocations: 40 kB / 1.201 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.7413, allocations: 389.7 kB / 1.201 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.7441, allocations: 1.776 MB / 1.203 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003267/0.7474, allocations: 2.339 MB / 1.205 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.7504, allocations: 2.055 MB / 1.207 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.7505, allocations: 4 kB / 1.207 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0173/0.7678, allocations: 8.533 MB / 1.216 GB, free: 156 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.7678, allocations: 12.22 kB / 1.216 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.7679, allocations: 24 kB / 1.216 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/0.782, allocations: 4.625 MB / 1.22 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.7834, allocations: 307.5 kB / 1.22 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6631/1.446, allocations: 29.44 MB / 1.249 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.448, allocations: 151.7 kB / 1.249 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/1.449, allocations: 83.58 kB / 1.249 GB, free: 167.7 MB / 0.9981 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.002258/1.451, allocations: 1.331 MB / 1.251 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/1.451, allocations: 201.2 kB / 1.251 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/1.469, allocations: 8.415 MB / 1.259 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/1.469, allocations: 16.91 kB / 1.259 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001209/1.469, allocations: 25.78 kB / 1.259 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/1.469, allocations: 9.234 kB / 1.259 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0292/1.498, allocations: 12.83 MB / 1.272 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/1.499, allocations: 5.969 kB / 1.272 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/1.499, allocations: 169.2 kB / 1.272 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01304/1.512, allocations: 4.492 MB / 1.276 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003269/1.513, allocations: 34.36 kB / 1.276 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/1.55, allocations: 29.06 MB / 1.305 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.55, allocations: 7.719 kB / 1.305 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/1.565, allocations: 8.216 MB / 1.313 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.566, allocations: 0.6165 MB / 1.313 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/1.566, allocations: 39.5 kB / 1.313 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.568, allocations: 132.8 kB / 1.313 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006779/1.568, allocations: 176.2 kB / 1.314 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.568, allocations: 50.53 kB / 1.314 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001117/1.57, allocations: 0.9509 MB / 1.315 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.57, allocations: 0 / 1.315 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00328/1.573, allocations: 1.113 MB / 1.316 GB, free: 141.3 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 (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.0002721/1.573, allocations: 157.3 kB / 1.316 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009452/1.583, allocations: 6.404 MB / 1.322 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.583, allocations: 4 kB / 1.322 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006891/1.59, allocations: 4.292 MB / 1.326 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/1.592, allocations: 493.7 kB / 1.327 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.602, allocations: 8.081 MB / 1.335 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/1.604, allocations: 2.723 MB / 1.337 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001032/1.605, allocations: 394.2 kB / 1.338 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/1.606, allocations: 103.4 kB / 1.338 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.213e-06/1.606, allocations: 4 kB / 1.338 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.07527/1.681, allocations: 55.57 MB / 1.392 GB, free: 63.16 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches