Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001391/0.001391, allocations: 193 kB / 16.14 MB, free: 6.719 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.545/1.545, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.917/2.917, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 71.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7794, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04556/0.825, allocations: 37.62 MB / 1.053 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02194/0.847, allocations: 10.94 MB / 1.064 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005623/0.8527, allocations: 143.2 kB / 1.064 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01162/0.8644, allocations: 4.074 MB / 1.068 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.872, allocations: 2.092 MB / 1.07 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006432/0.8785, allocations: 1.976 MB / 1.072 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01988/0.8984, allocations: 13.19 MB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0224/0.9208, allocations: 12.44 MB / 1.097 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007837/0.9287, allocations: 3.406 MB / 1.101 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009891/0.9386, allocations: 4.592 MB / 1.105 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002766/0.9414, allocations: 0.5663 MB / 1.106 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006185/0.9476, allocations: 1.549 MB / 1.107 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.006584/0.9542, allocations: 2.884 MB / 1.11 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.009675/0.9639, allocations: 3.364 MB / 1.113 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01934/0.9833, allocations: 12.07 MB / 1.125 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.9833, allocations: 0 / 1.125 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.057e-06/0.9834, allocations: 4 kB / 1.125 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004655/0.9838, allocations: 4 kB / 1.125 GB, free: 3.441 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02432/1.008, allocations: 6.314 MB / 1.131 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/1.008, allocations: 12.03 kB / 1.131 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007792/1.016, allocations: 1.071 MB / 1.132 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009892/1.026, allocations: 3.415 MB / 1.136 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005642/1.027, allocations: 427.7 kB / 1.136 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/1.029, allocations: 0.5471 MB / 1.136 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0292/1.058, allocations: 9.37 MB / 1.146 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003509/1.059, allocations: 19.81 kB / 1.146 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002826/1.062, allocations: 248 kB / 1.146 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008508/1.062, allocations: 426.9 kB / 1.146 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/1.082, allocations: 7.12 MB / 1.153 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06409/1.146, allocations: 41.32 MB / 1.194 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00573/1.152, allocations: 3.112 MB / 1.197 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003809/1.156, allocations: 2.133 MB / 1.199 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.156, allocations: 25.98 kB / 1.199 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.621e-05/1.156, allocations: 60.56 kB / 1.199 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=209): time 4.438e-06/1.156, allocations: 0 / 1.199 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of matching and sorting (n=212): time 0.02842/1.184, allocations: 10.55 MB / 1.209 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/1.184, allocations: 81.33 kB / 1.209 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/1.189, allocations: 2.002 MB / 1.211 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/1.189, allocations: 61.7 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002424/1.192, allocations: 2.4 MB / 1.214 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.193, allocations: 0.7317 MB / 1.214 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/1.194, allocations: 473.2 kB / 1.215 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.194, allocations: 313.1 kB / 1.215 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/1.197, allocations: 1.368 MB / 1.216 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003386/1.2, allocations: 2.116 MB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006184/1.206, allocations: 3.754 MB / 1.222 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/1.206, allocations: 4 kB / 1.222 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01012/1.216, allocations: 5.072 MB / 1.227 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/1.217, allocations: 18.34 kB / 1.227 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.891e-05/1.217, allocations: 20.91 kB / 1.227 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004172/1.221, allocations: 1.583 MB / 1.229 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.223, allocations: 451.2 kB / 1.229 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0256/1.248, allocations: 17.07 MB / 1.246 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/1.251, allocations: 143.9 kB / 1.246 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/1.252, allocations: 104 kB / 1.246 GB, free: 1.949 MB / 0.9981 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.6877/1.939, allocations: 1.948 MB / 1.248 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.941, allocations: 288.3 kB / 1.248 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008605/1.949, allocations: 4.445 MB / 1.252 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/1.949, allocations: 20.75 kB / 1.252 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-05/1.949, allocations: 20.22 kB / 1.252 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/1.949, allocations: 16.45 kB / 1.252 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02033/1.97, allocations: 9.667 MB / 1.262 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/1.97, allocations: 5.453 kB / 1.262 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.971, allocations: 230 kB / 1.262 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004207/1.975, allocations: 1.434 MB / 1.264 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/1.975, allocations: 37.5 kB / 1.264 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/1.996, allocations: 17.06 MB / 1.28 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.996, allocations: 10.97 kB / 1.28 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/2.004, allocations: 4.548 MB / 1.285 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/2.005, allocations: 0.6295 MB / 1.285 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007916/2.006, allocations: 43.02 kB / 1.285 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/2.008, allocations: 116.8 kB / 1.285 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006823/2.009, allocations: 180.7 kB / 1.286 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/2.009, allocations: 59.81 kB / 1.286 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002637/2.011, allocations: 1.315 MB / 1.287 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/2.011, allocations: 0 / 1.287 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00401/2.015, allocations: 1.142 MB / 1.288 GB, free: 193.2 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004085/2.016, allocations: 165.8 kB / 1.288 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006975/2.023, allocations: 4.685 MB / 1.293 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/2.023, allocations: 7.812 kB / 1.293 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/2.027, allocations: 2.927 MB / 1.296 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/2.032, allocations: 0.8258 MB / 1.297 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/2.05, allocations: 11.76 MB / 1.308 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005743/2.056, allocations: 3.694 MB / 1.312 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002461/2.058, allocations: 0.5479 MB / 1.312 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/2.059, allocations: 147.4 kB / 1.312 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.615e-06/2.059, allocations: 0 / 1.312 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07927/2.138, allocations: 51.14 MB / 1.362 GB, free: 122.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches