Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6802/0.6817, allocations: 140.4 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04803/0.7297, allocations: 40.81 MB / 0.9895 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02921/0.759, allocations: 15.05 MB / 1.004 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007207/0.7663, allocations: 167.1 kB / 1.004 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.7791, allocations: 4.152 MB / 1.008 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.7893, allocations: 2.636 MB / 1.011 GB, free: 3.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.7998, allocations: 2.889 MB / 1.014 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02047/0.8203, allocations: 16.01 MB / 1.029 GB, free: 244 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02486/0.8453, allocations: 13.64 MB / 1.043 GB, free: 2.465 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009243/0.8546, allocations: 4.106 MB / 1.047 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.8649, allocations: 5.483 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003677/0.8687, allocations: 0.6094 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007308/0.876, allocations: 2.04 MB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.006528/0.8826, allocations: 3.36 MB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01443/0.897, allocations: 3.928 MB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01781/0.9149, allocations: 12.07 MB / 1.074 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.915, allocations: 0 / 1.074 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.295e-06/0.915, allocations: 0 / 1.074 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0005402/0.9155, allocations: 0 / 1.074 GB, free: 2.781 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.0254/0.9409, allocations: 7.597 MB / 1.081 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.941, allocations: 8.031 kB / 1.081 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.9532, allocations: 1.518 MB / 1.082 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.9639, allocations: 4.209 MB / 1.087 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005308/0.9644, allocations: 456.5 kB / 1.087 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003093/0.9675, allocations: 0.59 MB / 1.088 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/0.9953, allocations: 10.69 MB / 1.098 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003686/0.9957, allocations: 31.77 kB / 1.098 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002429/0.9982, allocations: 263.9 kB / 1.098 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002906/1.001, allocations: 0.7729 MB / 1.099 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/1.022, allocations: 8.561 MB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06759/1.089, allocations: 46.86 MB / 1.153 GB, free: 12.9 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00667/1.096, allocations: 4.312 MB / 1.157 GB, free: 8.578 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005924/1.102, allocations: 3.704 MB / 1.161 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/1.103, allocations: 38.78 kB / 1.161 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.72e-05/1.103, allocations: 73.34 kB / 1.161 GB, free: 4.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=353): time 5.48e-06/1.103, allocations: 0 / 1.161 GB, free: 4.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=578): time 1.141/2.244, allocations: 122.7 MB / 1.281 GB, free: 266.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/2.244, allocations: 113.7 kB / 1.281 GB, free: 266.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005236/2.249, allocations: 2.678 MB / 1.284 GB, free: 265.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001586/2.251, allocations: 123.5 kB / 1.284 GB, free: 265.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00197/2.253, allocations: 2.679 MB / 1.286 GB, free: 263.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.003099/2.256, allocations: 1.959 MB / 1.288 GB, free: 261.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/2.258, allocations: 0.9247 MB / 1.289 GB, free: 261.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/2.258, allocations: 312.7 kB / 1.29 GB, free: 261 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00651/2.265, allocations: 4.081 MB / 1.294 GB, free: 259.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006857/2.271, allocations: 5.016 MB / 1.298 GB, free: 256.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/2.285, allocations: 9.845 MB / 1.308 GB, free: 251.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.955e-05/2.285, allocations: 3.781 kB / 1.308 GB, free: 251.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03931/2.325, allocations: 17 MB / 1.325 GB, free: 241.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/2.325, allocations: 15.94 kB / 1.325 GB, free: 241.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/2.325, allocations: 27.94 kB / 1.325 GB, free: 241.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02927/2.354, allocations: 9.072 MB / 1.334 GB, free: 232.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/2.356, allocations: 0.5265 MB / 1.334 GB, free: 231.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08255/2.439, allocations: 70.52 MB / 1.403 GB, free: 159.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006038/2.445, allocations: 279.8 kB / 1.403 GB, free: 159.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/2.446, allocations: 192 kB / 1.403 GB, free: 159.4 MB / 1.014 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004896/2.451, allocations: 2.417 MB / 1.406 GB, free: 157 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/2.453, allocations: 474.5 kB / 1.406 GB, free: 156.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03476/2.487, allocations: 16.81 MB / 1.423 GB, free: 139.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/2.488, allocations: 56 kB / 1.423 GB, free: 139.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002188/2.488, allocations: 72 kB / 1.423 GB, free: 139.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/2.488, allocations: 31.89 kB / 1.423 GB, free: 139.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04912/2.537, allocations: 25.66 MB / 1.448 GB, free: 113.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-05/2.537, allocations: 8 kB / 1.448 GB, free: 113.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/2.539, allocations: 319.4 kB / 1.448 GB, free: 113.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02697/2.566, allocations: 8.276 MB / 1.456 GB, free: 104.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001194/2.567, allocations: 104 kB / 1.456 GB, free: 104.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07925/2.646, allocations: 67.4 MB / 1.522 GB, free: 35.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/2.646, allocations: 15.88 kB / 1.522 GB, free: 35.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03933/2.686, allocations: 21.56 MB / 1.543 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00354/2.689, allocations: 1.358 MB / 1.545 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/2.691, allocations: 104 kB / 1.545 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/2.694, allocations: 291.6 kB / 1.545 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001904/2.696, allocations: 0.5221 MB / 1.545 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004692/2.696, allocations: 140 kB / 1.546 GB, free: 11.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002261/2.699, allocations: 1.78 MB / 1.547 GB, free: 9.809 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/2.699, allocations: 7.656 kB / 1.547 GB, free: 9.805 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.009042/2.708, allocations: 2.461 MB / 1.55 GB, free: 7.344 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/2.709, allocations: 240.9 kB / 1.55 GB, free: 7.098 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02642/2.735, allocations: 14.49 MB / 1.564 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/2.735, allocations: 0 / 1.564 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.01938/2.755, allocations: 9.35 MB / 1.573 GB, free: 14.92 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007311/2.762, allocations: 1.279 MB / 1.574 GB, free: 13.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03314/2.795, allocations: 19.68 MB / 1.594 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007908/2.803, allocations: 4.991 MB / 1.599 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/2.804, allocations: 211.4 kB / 1.599 GB, free: 4.617 MB / 1.061 GB Notification: Performance of SimCode: time 8.82e-07/2.804, allocations: 0 / 1.599 GB, free: 4.617 MB / 1.061 GB Notification: Performance of Templates: time 0.8616/3.666, allocations: 474.6 MB / 2.062 GB, free: 51.74 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches