Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001219/0.001219, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01191/0.01191, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004036, allocations: 8.812 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04465/0.3805, allocations: 39.87 MB / 1.098 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02545/0.406, allocations: 14.92 MB / 1.112 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004408/0.4104, allocations: 163 kB / 1.112 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.4139, allocations: 0.8645 MB / 1.113 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008835/0.4228, allocations: 2.636 MB / 1.116 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007671/0.4305, allocations: 2.717 MB / 1.118 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01976/0.4503, allocations: 15.99 MB / 1.134 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02859/0.4789, allocations: 15.79 MB / 1.149 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007959/0.4869, allocations: 3.532 MB / 1.153 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009458/0.4964, allocations: 4.765 MB / 1.158 GB, free: 15.79 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002318/0.4988, allocations: 396 kB / 1.158 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006031/0.5048, allocations: 1.809 MB / 1.16 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.006046/0.5109, allocations: 3 MB / 1.163 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008155/0.5191, allocations: 3.527 MB / 1.166 GB, free: 7.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01919/0.5383, allocations: 13.59 MB / 1.179 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5384, allocations: 0 / 1.179 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5384, allocations: 3.938 kB / 1.179 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004556/0.5388, allocations: 4 kB / 1.179 GB, free: 9.395 MB / 0.9356 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.01614/0.555, allocations: 6.155 MB / 1.185 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.555, allocations: 8.031 kB / 1.185 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.5666, allocations: 1.518 MB / 1.187 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008575/0.5752, allocations: 4.213 MB / 1.191 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003913/0.5756, allocations: 460.4 kB / 1.191 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.5775, allocations: 0.5977 MB / 1.192 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/0.6, allocations: 10.68 MB / 1.202 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/0.6002, allocations: 35.7 kB / 1.202 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000986/0.6012, allocations: 263.9 kB / 1.203 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003052/0.6043, allocations: 0.7768 MB / 1.203 GB, free: 152 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.6229, allocations: 8.557 MB / 1.212 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6682/1.291, allocations: 47 MB / 1.258 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006087/1.297, allocations: 4.307 MB / 1.262 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005505/1.303, allocations: 3.676 MB / 1.266 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/1.303, allocations: 41.41 kB / 1.266 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/1.303, allocations: 73.22 kB / 1.266 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 6.101e-06/1.303, allocations: 0 / 1.266 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.519/1.822, allocations: 128.1 MB / 1.391 GB, free: 58.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/1.822, allocations: 111.9 kB / 1.391 GB, free: 58.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003995/1.826, allocations: 2.685 MB / 1.393 GB, free: 55.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/1.828, allocations: 121.7 kB / 1.394 GB, free: 55.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.829, allocations: 2.676 MB / 1.396 GB, free: 52.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00268/1.832, allocations: 1.957 MB / 1.398 GB, free: 50.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/1.833, allocations: 442 kB / 1.399 GB, free: 50.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/1.833, allocations: 309 kB / 1.399 GB, free: 50.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006326/1.839, allocations: 4.079 MB / 1.403 GB, free: 46.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006696/1.846, allocations: 5.019 MB / 1.408 GB, free: 40.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/1.859, allocations: 9.84 MB / 1.417 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-05/1.859, allocations: 8 kB / 1.417 GB, free: 30.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04279/1.902, allocations: 17 MB / 1.434 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/1.902, allocations: 19.94 kB / 1.434 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/1.902, allocations: 20 kB / 1.434 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03151/1.933, allocations: 9.089 MB / 1.443 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/1.936, allocations: 0.5226 MB / 1.443 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.106/2.042, allocations: 70.71 MB / 1.512 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005491/2.047, allocations: 279.8 kB / 1.513 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/2.048, allocations: 199.4 kB / 1.513 GB, free: 11.12 MB / 1.076 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.006053/2.054, allocations: 2.429 MB / 1.515 GB, free: 8.688 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/2.056, allocations: 474.4 kB / 1.516 GB, free: 8.219 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04134/2.097, allocations: 16.81 MB / 1.532 GB, free: 7.262 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/2.097, allocations: 56 kB / 1.532 GB, free: 7.207 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002226/2.098, allocations: 72 kB / 1.532 GB, free: 7.137 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001302/2.098, allocations: 27.89 kB / 1.532 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05924/2.157, allocations: 25.69 MB / 1.557 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.484e-05/2.157, allocations: 8 kB / 1.557 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/2.159, allocations: 315.6 kB / 1.558 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03044/2.189, allocations: 8.274 MB / 1.566 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/2.191, allocations: 108 kB / 1.566 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1009/2.292, allocations: 67.58 MB / 1.632 GB, free: 15.4 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/2.292, allocations: 8 kB / 1.632 GB, free: 15.39 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04746/2.339, allocations: 21.56 MB / 1.653 GB, free: 9.473 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003887/2.343, allocations: 1.358 MB / 1.654 GB, free: 8.09 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/2.344, allocations: 112 kB / 1.654 GB, free: 7.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004246/2.349, allocations: 283.6 kB / 1.655 GB, free: 7.703 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002466/2.351, allocations: 0.5299 MB / 1.655 GB, free: 7.168 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006206/2.352, allocations: 140 kB / 1.655 GB, free: 7.031 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002948/2.355, allocations: 1.776 MB / 1.657 GB, free: 5.266 MB / 1.217 GB Notification: Performance of sort global known variables: time 2e-07/2.355, allocations: 0 / 1.657 GB, free: 5.266 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008999/2.364, allocations: 2.465 MB / 1.659 GB, free: 2.801 MB / 1.217 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.001121/2.365, allocations: 242.2 kB / 1.66 GB, free: 2.559 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.02776/2.393, allocations: 14.52 MB / 1.674 GB, free: 3.84 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/2.393, allocations: 4 kB / 1.674 GB, free: 3.836 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01995/2.413, allocations: 9.405 MB / 1.683 GB, free: 10.29 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01175/2.425, allocations: 1.273 MB / 1.684 GB, free: 9.027 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/2.456, allocations: 18.81 MB / 1.703 GB, free: 6.086 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007941/2.464, allocations: 4.896 MB / 1.707 GB, free: 1.148 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002983/2.467, allocations: 0.741 MB / 1.708 GB, free: 412 kB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006291/2.468, allocations: 199.4 kB / 1.708 GB, free: 212 kB / 1.264 GB Notification: Performance of SimCode: time 7.11e-07/2.468, allocations: 0 / 1.708 GB, free: 212 kB / 1.264 GB Notification: Performance of Templates: time 0.806/3.274, allocations: 138.7 MB / 1.844 GB, free: 344.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches