Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 177 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9743/0.9743, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.053/2.053, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_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=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.862e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02826/0.02828, allocations: 38.53 MB / 0.9158 GB, free: 0 / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.04159, allocations: 11.27 MB / 0.9268 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.04358, allocations: 198.6 kB / 0.927 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.04856, allocations: 4.504 MB / 0.9314 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.05222, allocations: 2.4 MB / 0.9338 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.05528, allocations: 2.194 MB / 0.9359 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.007366/0.06264, allocations: 9.458 MB / 0.9451 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006566/0.06921, allocations: 6.378 MB / 0.9514 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00573/0.07494, allocations: 5.832 MB / 0.9571 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004172/0.07911, allocations: 4.49 MB / 0.9615 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0009825/0.08009, allocations: 0.8242 MB / 0.9623 GB, free: 224 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.08296, allocations: 1.513 MB / 0.9637 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003215/0.08617, allocations: 3.422 MB / 0.9671 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.003094/0.08926, allocations: 2.597 MB / 0.9696 GB, free: 8.672 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.007177/0.09644, allocations: 6.744 MB / 0.9762 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.09645, allocations: 0 / 0.9762 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.393e-06/0.09645, allocations: 0 / 0.9762 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.81e-05/0.09654, allocations: 0 / 0.9762 GB, free: 1.91 MB / 0.9323 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.007419/0.104, allocations: 6.693 MB / 0.9827 GB, free: 11.15 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.104, allocations: 8.031 kB / 0.9827 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.1075, allocations: 1.706 MB / 0.9844 GB, free: 9.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/0.1111, allocations: 3.507 MB / 0.9878 GB, free: 5.855 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.1113, allocations: 423.7 kB / 0.9882 GB, free: 5.441 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.1119, allocations: 0.5589 MB / 0.9888 GB, free: 4.883 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006476/0.1183, allocations: 6.265 MB / 0.9949 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-05/0.1184, allocations: 20.02 kB / 0.9949 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.1188, allocations: 249.8 kB / 0.9952 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003485/0.1191, allocations: 434.8 kB / 0.9956 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.1229, allocations: 2.141 MB / 0.9977 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01921/0.1421, allocations: 28.15 MB / 1.025 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.144, allocations: 1.433 MB / 1.027 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.1452, allocations: 0.9396 MB / 1.027 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/0.1453, allocations: 38 kB / 1.028 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1453, allocations: 63.33 kB / 1.028 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 2.886e-06/0.1454, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.01181/0.1572, allocations: 6.433 MB / 1.034 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1572, allocations: 81.34 kB / 1.034 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.1587, allocations: 1.695 MB / 1.036 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.54e-05/0.1588, allocations: 65.7 kB / 1.036 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.1599, allocations: 2.525 MB / 1.038 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004196/0.1603, allocations: 0.7864 MB / 1.039 GB, free: 28 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/0.1608, allocations: 484.1 kB / 1.039 GB, free: 15.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.1608, allocations: 476.8 kB / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.1615, allocations: 469 kB / 1.04 GB, free: 14.61 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.1628, allocations: 1.493 MB / 1.042 GB, free: 12.69 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.1647, allocations: 2.151 MB / 1.044 GB, free: 10.11 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.1647, allocations: 4 kB / 1.044 GB, free: 10.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003534/0.1683, allocations: 2.871 MB / 1.047 GB, free: 7.211 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.1683, allocations: 12 kB / 1.047 GB, free: 7.199 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.1683, allocations: 24 kB / 1.047 GB, free: 7.176 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/0.1706, allocations: 1.217 MB / 1.048 GB, free: 5.953 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.1715, allocations: 463.2 kB / 1.048 GB, free: 5.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3883/0.5598, allocations: 12.39 MB / 1.06 GB, free: 194.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.561, allocations: 147.2 kB / 1.061 GB, free: 194.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.5612, allocations: 107.7 kB / 1.061 GB, free: 194.2 MB / 1.01 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.0009936/0.5622, allocations: 314.5 kB / 1.061 GB, free: 194.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.5624, allocations: 349.4 kB / 1.061 GB, free: 194.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.565, allocations: 2.255 MB / 1.063 GB, free: 193.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.5651, allocations: 20.41 kB / 1.063 GB, free: 193.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.5651, allocations: 16.75 kB / 1.063 GB, free: 193.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5651, allocations: 14.02 kB / 1.064 GB, free: 193.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006263/0.5713, allocations: 6.18 MB / 1.07 GB, free: 192.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5714, allocations: 8.219 kB / 1.07 GB, free: 192.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.5718, allocations: 235.8 kB / 1.07 GB, free: 192.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.5738, allocations: 1.056 MB / 1.071 GB, free: 192.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.5739, allocations: 39.81 kB / 1.071 GB, free: 192.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008007/0.5819, allocations: 12.34 MB / 1.083 GB, free: 183.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5819, allocations: 5.844 kB / 1.083 GB, free: 183.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.5845, allocations: 2.539 MB / 1.085 GB, free: 182.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.585, allocations: 0.5193 MB / 1.086 GB, free: 182 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.5852, allocations: 42.55 kB / 1.086 GB, free: 182 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.5858, allocations: 123.1 kB / 1.086 GB, free: 182 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.5861, allocations: 190.3 kB / 1.086 GB, free: 181.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/0.5862, allocations: 56.78 kB / 1.086 GB, free: 181.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006905/0.5869, allocations: 0.9559 MB / 1.087 GB, free: 181.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5869, allocations: 0 / 1.087 GB, free: 181.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002098/0.589, allocations: 1.148 MB / 1.088 GB, free: 181.5 MB / 1.01 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.0001984/0.5892, allocations: 160.3 kB / 1.088 GB, free: 181.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003245/0.5924, allocations: 3.136 MB / 1.092 GB, free: 179.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5924, allocations: 1.875 kB / 1.092 GB, free: 179.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.5944, allocations: 2.291 MB / 1.094 GB, free: 178.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.596, allocations: 0.8133 MB / 1.095 GB, free: 178.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009078/0.6051, allocations: 8.433 MB / 1.103 GB, free: 174.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.6063, allocations: 1.405 MB / 1.104 GB, free: 173.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009112/0.6072, allocations: 460.6 kB / 1.105 GB, free: 173.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.6075, allocations: 137.5 kB / 1.105 GB, free: 173.6 MB / 1.01 GB Notification: Performance of SimCode: time 9.62e-07/0.6075, allocations: 0 / 1.105 GB, free: 173.6 MB / 1.01 GB Notification: Performance of Templates: time 0.05745/0.6649, allocations: 52.55 MB / 1.156 GB, free: 148.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.688222008058801]