Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 84.38 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.001395/0.001395, 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.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 12 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7781, allocations: 153.8 MB / 1.022 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03592/0.8141, allocations: 32.03 MB / 1.054 GB, free: 72 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.8327, allocations: 9.491 MB / 1.063 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004222/0.837, allocations: 123.3 kB / 1.063 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.84, allocations: 0.6781 MB / 1.064 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.846, allocations: 1.644 MB / 1.065 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.8504, allocations: 1.15 MB / 1.066 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.8614, allocations: 8.833 MB / 1.075 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02112/0.8826, allocations: 10.42 MB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005902/0.8885, allocations: 2.436 MB / 1.088 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006549/0.8951, allocations: 3.122 MB / 1.091 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.8974, allocations: 288 kB / 1.091 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0052/0.9027, allocations: 0.6439 MB / 1.092 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006073/0.9088, allocations: 2.089 MB / 1.094 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004103/0.9129, allocations: 1.03 MB / 1.095 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.9249, allocations: 8.554 MB / 1.103 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9249, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.307e-06/0.9249, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004563/0.9254, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01257/0.938, allocations: 4.414 MB / 1.107 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.9381, allocations: 8.562 kB / 1.107 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.944, allocations: 0.9617 MB / 1.108 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007152/0.9512, allocations: 2.929 MB / 1.111 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004216/0.9516, allocations: 361.5 kB / 1.111 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001895/0.9535, allocations: 471.9 kB / 1.112 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/0.976, allocations: 7.863 MB / 1.12 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002602/0.9763, allocations: 19.81 kB / 1.12 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001664/0.9779, allocations: 212 kB / 1.12 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007376/0.9787, allocations: 365.1 kB / 1.12 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.9945, allocations: 5.902 MB / 1.126 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05258/1.047, allocations: 36.25 MB / 1.161 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004229/1.051, allocations: 2.127 MB / 1.163 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/1.054, allocations: 1.48 MB / 1.165 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/1.054, allocations: 21.31 kB / 1.165 GB, free: 10.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/1.054, allocations: 55.88 kB / 1.165 GB, free: 10.2 MB / 0.92 GB Notification: Performance of pre-optimization done (n=157): time 5.38e-06/1.054, allocations: 0 / 1.165 GB, free: 10.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=160): time 0.01642/1.071, allocations: 7.536 MB / 1.172 GB, free: 2.395 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.071, allocations: 68.72 kB / 1.172 GB, free: 2.312 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/1.074, allocations: 1.841 MB / 1.174 GB, free: 456 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/1.075, allocations: 57.64 kB / 1.174 GB, free: 392 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/1.077, allocations: 2.123 MB / 1.176 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.078, allocations: 0.5623 MB / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/1.078, allocations: 44 kB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002656/1.078, allocations: 398.3 kB / 1.177 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/1.08, allocations: 1.055 MB / 1.178 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/1.083, allocations: 1.752 MB / 1.18 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/1.085, allocations: 1.345 MB / 1.181 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/1.085, allocations: 8 kB / 1.181 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007584/1.093, allocations: 3.901 MB / 1.185 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/1.093, allocations: 16 kB / 1.185 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/1.093, allocations: 20.88 kB / 1.185 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/1.095, allocations: 0.9311 MB / 1.186 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/1.097, allocations: 427.2 kB / 1.186 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/1.118, allocations: 21.06 MB / 1.207 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/1.12, allocations: 123.9 kB / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003844/1.121, allocations: 96 kB / 1.207 GB, free: 12.49 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003286/1.124, allocations: 1.65 MB / 1.209 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/1.125, allocations: 253.1 kB / 1.209 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/1.13, allocations: 3.248 MB / 1.212 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.13, allocations: 16 kB / 1.212 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.235e-05/1.13, allocations: 12 kB / 1.212 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.131, allocations: 7.969 kB / 1.212 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.144, allocations: 7.537 MB / 1.22 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.144, allocations: 4.562 kB / 1.22 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009154/1.145, allocations: 219.6 kB / 1.22 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/1.148, allocations: 0.896 MB / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/1.148, allocations: 28 kB / 1.221 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/1.168, allocations: 21.02 MB / 1.241 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.168, allocations: 11.95 kB / 1.241 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006184/1.174, allocations: 3.368 MB / 1.245 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.175, allocations: 0.5254 MB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005448/1.176, allocations: 35.95 kB / 1.245 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.177, allocations: 95.89 kB / 1.245 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/1.178, allocations: 145 kB / 1.245 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.178, allocations: 40 kB / 1.245 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002349/1.18, allocations: 1.205 MB / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.18, allocations: 3.938 kB / 1.247 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003571/1.184, allocations: 0.9102 MB / 1.247 GB, free: 1.27 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003184/1.184, allocations: 155.8 kB / 1.248 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.621/1.805, allocations: 4.402 MB / 1.252 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.805, allocations: 1.375 kB / 1.252 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/1.81, allocations: 2.994 MB / 1.255 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/1.814, allocations: 0.7644 MB / 1.256 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/1.832, allocations: 9.24 MB / 1.265 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004621/1.837, allocations: 3.212 MB / 1.268 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002606/1.839, allocations: 0.526 MB / 1.268 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/1.84, allocations: 141.3 kB / 1.268 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.84, allocations: 3.938 kB / 1.268 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.06702/1.907, allocations: 39.76 MB / 1.307 GB, free: 176.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches