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.0009746/0.0009747, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009597/0.0009597, allocations: 177.3 kB / 15.94 MB, free: 228 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.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004143, allocations: 12 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8786, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02315/0.9018, allocations: 19.83 MB / 1.04 GB, free: 13.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.9128, allocations: 5.963 MB / 1.046 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.9151, allocations: 75.5 kB / 1.046 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.9166, allocations: 433.3 kB / 1.046 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.921, allocations: 1.11 MB / 1.048 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.924, allocations: 0.8218 MB / 1.048 GB, free: 4.844 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005717/0.9297, allocations: 2.827 MB / 1.051 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01069/0.9404, allocations: 6.219 MB / 1.057 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.945, allocations: 1.51 MB / 1.059 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.949, allocations: 1.713 MB / 1.06 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.9502, allocations: 204 kB / 1.061 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.9523, allocations: 451.5 kB / 1.061 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.9544, allocations: 1.575 MB / 1.063 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.9557, allocations: 0.7381 MB / 1.063 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00703/0.9627, allocations: 5.889 MB / 1.069 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9628, allocations: 0 / 1.069 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.157e-06/0.9628, allocations: 4 kB / 1.069 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002587/0.9631, allocations: 0 / 1.069 GB, free: 15.63 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.007847/0.9709, allocations: 3.08 MB / 1.072 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.971, allocations: 11.98 kB / 1.072 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006325/0.9773, allocations: 1.259 MB / 1.073 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.9829, allocations: 2.165 MB / 1.075 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.9832, allocations: 234.4 kB / 1.076 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.9844, allocations: 323.9 kB / 1.076 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/0.999, allocations: 6.154 MB / 1.082 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.9992, allocations: 23.78 kB / 1.082 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/1, allocations: 135.9 kB / 1.082 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000636/1.001, allocations: 410.3 kB / 1.082 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/1.011, allocations: 4.639 MB / 1.087 GB, free: 12.83 MB / 0.8419 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.04182/1.053, allocations: 29.06 MB / 1.115 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/1.056, allocations: 1.412 MB / 1.117 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/1.056, allocations: 9 kB / 1.117 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.056, allocations: 47.56 kB / 1.117 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=110): time 5.2e-06/1.056, allocations: 0 / 1.117 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=179): time 0.1434/1.199, allocations: 36.3 MB / 1.152 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/1.199, allocations: 73.41 kB / 1.152 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/1.202, allocations: 1.404 MB / 1.154 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004048/1.202, allocations: 53.7 kB / 1.154 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.204, allocations: 1.546 MB / 1.155 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008096/1.205, allocations: 0.6122 MB / 1.156 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/1.205, allocations: 44 kB / 1.156 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.205, allocations: 389.9 kB / 1.156 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/1.208, allocations: 1.772 MB / 1.158 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/1.211, allocations: 2.339 MB / 1.16 GB, free: 14.64 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/1.214, allocations: 2.044 MB / 1.162 GB, free: 12.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.214, allocations: 8 kB / 1.162 GB, free: 12.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01794/1.232, allocations: 8.548 MB / 1.171 GB, free: 4.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/1.232, allocations: 13.56 kB / 1.171 GB, free: 3.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/1.232, allocations: 16 kB / 1.171 GB, free: 3.977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01442/1.246, allocations: 4.627 MB / 1.175 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.247, allocations: 303.5 kB / 1.175 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04329/1.291, allocations: 30.83 MB / 1.206 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/1.293, allocations: 151.8 kB / 1.206 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/1.294, allocations: 84 kB / 1.206 GB, free: 15.16 MB / 0.9669 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.003189/1.297, allocations: 1.325 MB / 1.207 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/1.298, allocations: 193.7 kB / 1.207 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/1.315, allocations: 8.426 MB / 1.216 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.315, allocations: 19.95 kB / 1.216 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.542e-05/1.315, allocations: 27.94 kB / 1.216 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.089e-05/1.315, allocations: 7.969 kB / 1.216 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.34, allocations: 12.82 MB / 1.228 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/1.34, allocations: 4 kB / 1.228 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/1.341, allocations: 167.7 kB / 1.228 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01393/1.354, allocations: 4.478 MB / 1.233 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003189/1.355, allocations: 32 kB / 1.233 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7091/2.064, allocations: 30.45 MB / 1.262 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/2.064, allocations: 16.34 kB / 1.262 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02017/2.084, allocations: 8.631 MB / 1.271 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/2.086, allocations: 0.617 MB / 1.271 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003687/2.087, allocations: 39.83 kB / 1.271 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/2.088, allocations: 139.7 kB / 1.272 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008713/2.089, allocations: 171.1 kB / 1.272 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/2.089, allocations: 50.06 kB / 1.272 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001408/2.091, allocations: 0.9438 MB / 1.273 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/2.091, allocations: 0 / 1.273 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00418/2.095, allocations: 1.119 MB / 1.274 GB, free: 203.1 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.0003486/2.095, allocations: 144 kB / 1.274 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01157/2.107, allocations: 6.414 MB / 1.28 GB, free: 200.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/2.107, allocations: 2.688 kB / 1.28 GB, free: 200.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009336/2.116, allocations: 4.283 MB / 1.284 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/2.119, allocations: 471.1 kB / 1.285 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/2.131, allocations: 8.104 MB / 1.293 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/2.134, allocations: 2.786 MB / 1.296 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001318/2.135, allocations: 387.2 kB / 1.296 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/2.136, allocations: 99.55 kB / 1.296 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/2.136, allocations: 0 / 1.296 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.08055/2.216, allocations: 55.56 MB / 1.35 GB, free: 139.9 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","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches