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.0115/0.0115, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002513/0.002513, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.385/2.385, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04848/1.101, allocations: 37.95 MB / 1.125 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02549/1.127, allocations: 10.99 MB / 1.136 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007556/1.134, allocations: 159.9 kB / 1.136 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0141/1.149, allocations: 4.358 MB / 1.14 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01439/1.163, allocations: 2.223 MB / 1.142 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01276/1.176, allocations: 2.165 MB / 1.144 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0249/1.201, allocations: 9.285 MB / 1.153 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03141/1.232, allocations: 11.26 MB / 1.164 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/1.247, allocations: 3.994 MB / 1.168 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01319/1.26, allocations: 4.516 MB / 1.173 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.005168/1.266, allocations: 0.8231 MB / 1.174 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008752/1.274, allocations: 1.591 MB / 1.175 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.009429/1.284, allocations: 3.147 MB / 1.178 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01757/1.301, allocations: 3.659 MB / 1.182 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.03189/1.333, allocations: 12.31 MB / 1.194 GB, free: 1.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.333, allocations: 0 / 1.194 GB, free: 1.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/1.333, allocations: 0 / 1.194 GB, free: 1.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000542/1.334, allocations: 0 / 1.194 GB, free: 1.52 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.03139/1.365, allocations: 6.322 MB / 1.2 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.365, allocations: 16.02 kB / 1.2 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.377, allocations: 1.063 MB / 1.201 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/1.392, allocations: 3.606 MB / 1.205 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007894/1.393, allocations: 431.7 kB / 1.205 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003569/1.396, allocations: 0.5394 MB / 1.206 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03632/1.433, allocations: 9.374 MB / 1.215 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003418/1.433, allocations: 27.72 kB / 1.215 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0025/1.435, allocations: 248 kB / 1.215 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008261/1.436, allocations: 422.9 kB / 1.215 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/1.454, allocations: 7.12 MB / 1.222 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06703/1.522, allocations: 41.01 MB / 1.262 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005972/1.528, allocations: 3.104 MB / 1.265 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003563/1.531, allocations: 2.149 MB / 1.267 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/1.531, allocations: 22 kB / 1.267 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/1.531, allocations: 60.56 kB / 1.268 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.609e-06/1.531, allocations: 0 / 1.268 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02681/1.558, allocations: 10.56 MB / 1.278 GB, free: 7.145 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/1.558, allocations: 77.34 kB / 1.278 GB, free: 7.059 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/1.563, allocations: 2.013 MB / 1.28 GB, free: 5.027 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003547/1.563, allocations: 65.7 kB / 1.28 GB, free: 4.957 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.565, allocations: 2.4 MB / 1.282 GB, free: 2.523 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009551/1.566, allocations: 0.7279 MB / 1.283 GB, free: 1.785 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/1.568, allocations: 477.2 kB / 1.283 GB, free: 1.312 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.568, allocations: 305.1 kB / 1.284 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/1.57, allocations: 1.372 MB / 1.285 GB, free: 15.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/1.573, allocations: 2.108 MB / 1.287 GB, free: 13.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005585/1.579, allocations: 3.766 MB / 1.291 GB, free: 9.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.248e-05/1.579, allocations: 8 kB / 1.291 GB, free: 9.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009065/1.588, allocations: 5.076 MB / 1.296 GB, free: 4.023 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/1.588, allocations: 12 kB / 1.296 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.813e-05/1.588, allocations: 24 kB / 1.296 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/1.592, allocations: 1.582 MB / 1.297 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.593, allocations: 463.2 kB / 1.298 GB, free: 1.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02349/1.617, allocations: 18.56 MB / 1.316 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/1.619, allocations: 143.9 kB / 1.316 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004502/1.62, allocations: 115.9 kB / 1.316 GB, free: 14.56 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.003884/1.624, allocations: 1.941 MB / 1.318 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007699/1.625, allocations: 284.7 kB / 1.318 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007783/1.632, allocations: 4.455 MB / 1.323 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/1.632, allocations: 27.94 kB / 1.323 GB, free: 7.812 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.79e-05/1.633, allocations: 20 kB / 1.323 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.633, allocations: 7.969 kB / 1.323 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/1.652, allocations: 9.668 MB / 1.332 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.652, allocations: 8 kB / 1.332 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.653, allocations: 228.2 kB / 1.332 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003641/1.657, allocations: 1.431 MB / 1.334 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/1.657, allocations: 40.12 kB / 1.334 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/1.682, allocations: 18.56 MB / 1.352 GB, free: 9.145 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.682, allocations: 12.09 kB / 1.352 GB, free: 9.133 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008151/1.69, allocations: 4.54 MB / 1.356 GB, free: 4.508 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.692, allocations: 0.6342 MB / 1.357 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007826/1.693, allocations: 36 kB / 1.357 GB, free: 3.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.695, allocations: 123.9 kB / 1.357 GB, free: 3.695 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005504/1.695, allocations: 181.4 kB / 1.357 GB, free: 3.516 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.696, allocations: 56 kB / 1.357 GB, free: 3.461 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002391/1.698, allocations: 1.315 MB / 1.359 GB, free: 2.137 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.698, allocations: 4 kB / 1.359 GB, free: 2.133 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004134/1.702, allocations: 1.141 MB / 1.36 GB, free: 0.9922 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.0003902/1.703, allocations: 167 kB / 1.36 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007952/1.711, allocations: 4.716 MB / 1.365 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.711, allocations: 4.25 kB / 1.365 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004951/1.716, allocations: 2.917 MB / 1.367 GB, free: 9.082 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005516/1.721, allocations: 0.8916 MB / 1.368 GB, free: 8.203 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.746, allocations: 9.286 MB / 1.377 GB, free: 14.84 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008591/1.755, allocations: 3.69 MB / 1.381 GB, free: 11.11 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003342/1.758, allocations: 0.5479 MB / 1.382 GB, free: 10.56 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009574/1.759, allocations: 159.4 kB / 1.382 GB, free: 10.4 MB / 1.123 GB Notification: Performance of SimCode: time 1.583e-06/1.759, allocations: 0 / 1.382 GB, free: 10.4 MB / 1.123 GB Notification: Performance of Templates: time 0.09991/1.859, allocations: 51.63 MB / 1.432 GB, free: 7.477 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