Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.009702/0.009702, allocations: 102.5 kB / 15.73 MB, free: 6.055 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.002088/0.002088, allocations: 189.2 kB / 16.67 MB, free: 5.973 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.111, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05104/1.162, allocations: 37.96 MB / 1.125 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02843/1.19, allocations: 10.99 MB / 1.136 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008652/1.199, allocations: 157.3 kB / 1.136 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01646/1.216, allocations: 4.365 MB / 1.14 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01243/1.228, allocations: 2.214 MB / 1.142 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01034/1.239, allocations: 2.165 MB / 1.144 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02029/1.259, allocations: 9.285 MB / 1.153 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02718/1.286, allocations: 11.27 MB / 1.164 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/1.298, allocations: 4.054 MB / 1.168 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/1.311, allocations: 4.507 MB / 1.173 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.005921/1.317, allocations: 0.8222 MB / 1.174 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/1.328, allocations: 1.588 MB / 1.175 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.01028/1.339, allocations: 3.151 MB / 1.178 GB, free: 15.11 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01672/1.355, allocations: 3.655 MB / 1.182 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02438/1.38, allocations: 12.31 MB / 1.194 GB, free: 1.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.38, allocations: 0 / 1.194 GB, free: 1.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.116e-06/1.38, allocations: 0 / 1.194 GB, free: 1.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005896/1.38, allocations: 0 / 1.194 GB, free: 1.5 MB / 0.92 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.02849/1.409, allocations: 6.322 MB / 1.2 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/1.409, allocations: 12.02 kB / 1.2 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007859/1.417, allocations: 1.063 MB / 1.201 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/1.428, allocations: 3.614 MB / 1.205 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005679/1.428, allocations: 423.8 kB / 1.205 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002936/1.431, allocations: 0.5472 MB / 1.206 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/1.46, allocations: 9.381 MB / 1.215 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003423/1.46, allocations: 19.78 kB / 1.215 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002507/1.463, allocations: 244 kB / 1.215 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001002/1.464, allocations: 426.9 kB / 1.215 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/1.485, allocations: 7.12 MB / 1.222 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06667/1.552, allocations: 41 MB / 1.262 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005936/1.558, allocations: 3.104 MB / 1.265 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003658/1.561, allocations: 2.157 MB / 1.268 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/1.561, allocations: 22 kB / 1.268 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/1.562, allocations: 56.56 kB / 1.268 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 6.702e-06/1.562, allocations: 0 / 1.268 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02737/1.589, allocations: 10.56 MB / 1.278 GB, free: 7.125 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/1.589, allocations: 77.34 kB / 1.278 GB, free: 7.039 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/1.593, allocations: 2.005 MB / 1.28 GB, free: 5.016 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005128/1.594, allocations: 61.7 kB / 1.28 GB, free: 4.949 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002117/1.596, allocations: 2.408 MB / 1.282 GB, free: 2.508 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.597, allocations: 0.7279 MB / 1.283 GB, free: 1.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/1.598, allocations: 477.2 kB / 1.284 GB, free: 1.297 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.598, allocations: 309.1 kB / 1.284 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/1.601, allocations: 1.372 MB / 1.285 GB, free: 15.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/1.604, allocations: 2.104 MB / 1.287 GB, free: 13.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005608/1.609, allocations: 3.77 MB / 1.291 GB, free: 9.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/1.609, allocations: 4 kB / 1.291 GB, free: 9.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009559/1.619, allocations: 5.076 MB / 1.296 GB, free: 4.008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/1.619, allocations: 16 kB / 1.296 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/1.619, allocations: 20.84 kB / 1.296 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/1.623, allocations: 1.59 MB / 1.297 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/1.625, allocations: 459.2 kB / 1.298 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02486/1.65, allocations: 18.58 MB / 1.316 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/1.652, allocations: 147.9 kB / 1.316 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005631/1.653, allocations: 104 kB / 1.316 GB, free: 14.54 MB / 1.061 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.004397/1.657, allocations: 1.945 MB / 1.318 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009804/1.658, allocations: 288.7 kB / 1.318 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008083/1.667, allocations: 4.455 MB / 1.323 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.667, allocations: 20 kB / 1.323 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-05/1.667, allocations: 16 kB / 1.323 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.667, allocations: 7.969 kB / 1.323 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/1.688, allocations: 9.672 MB / 1.332 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.688, allocations: 4 kB / 1.332 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.689, allocations: 231.6 kB / 1.332 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003661/1.693, allocations: 1.427 MB / 1.334 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002809/1.693, allocations: 40 kB / 1.334 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02613/1.719, allocations: 18.56 MB / 1.352 GB, free: 9.121 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.719, allocations: 4.156 kB / 1.352 GB, free: 9.117 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008353/1.728, allocations: 4.548 MB / 1.356 GB, free: 4.484 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.73, allocations: 0.6382 MB / 1.357 GB, free: 3.824 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008337/1.73, allocations: 36 kB / 1.357 GB, free: 3.789 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.732, allocations: 111.9 kB / 1.357 GB, free: 3.68 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006333/1.733, allocations: 189.4 kB / 1.357 GB, free: 3.492 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.733, allocations: 60 kB / 1.357 GB, free: 3.434 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002588/1.736, allocations: 1.315 MB / 1.359 GB, free: 2.109 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.736, allocations: 3.938 kB / 1.359 GB, free: 2.105 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004568/1.74, allocations: 1.137 MB / 1.36 GB, free: 0.9688 MB / 1.092 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.0004591/1.741, allocations: 173 kB / 1.36 GB, free: 0.793 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008946/1.75, allocations: 4.716 MB / 1.365 GB, free: 12.02 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.75, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005165/1.755, allocations: 2.93 MB / 1.368 GB, free: 9.047 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005113/1.76, allocations: 0.8898 MB / 1.368 GB, free: 8.172 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/1.78, allocations: 9.275 MB / 1.377 GB, free: 14.81 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004211/1.785, allocations: 3.683 MB / 1.381 GB, free: 11.1 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002251/1.787, allocations: 0.5518 MB / 1.382 GB, free: 10.54 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/1.787, allocations: 159.4 kB / 1.382 GB, free: 10.38 MB / 1.123 GB Notification: Performance of SimCode: time 9.01e-07/1.787, allocations: 0 / 1.382 GB, free: 10.38 MB / 1.123 GB Notification: Performance of Templates: time 0.097/1.884, allocations: 52.44 MB / 1.433 GB, free: 6.664 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches