Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001416/0.001416, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001455/0.001455, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9645/0.9645, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.892/1.892, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.179e-05, allocations: 2.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01401/0.01404, allocations: 18.36 MB / 0.778 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0126/0.02664, allocations: 9.639 MB / 0.7874 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/0.02969, allocations: 199.3 kB / 0.7876 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.03191, allocations: 0.7766 MB / 0.7883 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005779/0.03769, allocations: 2.611 MB / 0.7909 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.04098, allocations: 1.606 MB / 0.7924 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008451/0.04943, allocations: 7.711 MB / 0.8 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006453/0.05589, allocations: 4.862 MB / 0.8047 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008452/0.06434, allocations: 4.92 MB / 0.8095 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004868/0.0692, allocations: 3.185 MB / 0.8126 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.07067, allocations: 0.586 MB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.07275, allocations: 0.6794 MB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002914/0.07567, allocations: 2.546 MB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003665/0.07933, allocations: 2.004 MB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005799/0.08513, allocations: 4.834 MB / 0.823 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.08514, allocations: 0.9375 kB / 0.823 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.954e-06/0.08514, allocations: 3.984 kB / 0.823 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002692/0.08541, allocations: 4.938 kB / 0.823 GB, free: 5.879 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.006378/0.09178, allocations: 4.839 MB / 0.8278 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.09182, allocations: 8.875 kB / 0.8278 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.09495, allocations: 1.279 MB / 0.829 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/0.09832, allocations: 2.385 MB / 0.8314 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.09849, allocations: 316.8 kB / 0.8317 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005308/0.09902, allocations: 432.3 kB / 0.8321 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004595/0.1036, allocations: 4.157 MB / 0.8361 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.493e-05/0.1037, allocations: 32.19 kB / 0.8362 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.104, allocations: 185.9 kB / 0.8363 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004025/0.1044, allocations: 312.1 kB / 0.8366 GB, free: 7.414 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.1065, allocations: 1.134 MB / 0.8377 GB, free: 6.262 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/0.1218, allocations: 15.19 MB / 0.8526 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.1225, allocations: 492.1 kB / 0.8531 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/0.1229, allocations: 424.2 kB / 0.8535 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.351e-05/0.123, allocations: 21.31 kB / 0.8535 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.123, allocations: 51.88 kB / 0.8535 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=130): time 4.137e-06/0.123, allocations: 3.938 kB / 0.8535 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of matching and sorting (n=133): time 0.007941/0.131, allocations: 3.925 MB / 0.8574 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.131, allocations: 64.72 kB / 0.8574 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.1324, allocations: 1.544 MB / 0.8589 GB, free: 15.99 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.1325, allocations: 45.7 kB / 0.859 GB, free: 15.94 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007433/0.1333, allocations: 1.751 MB / 0.8607 GB, free: 14.18 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.1336, allocations: 0.4918 MB / 0.8612 GB, free: 13.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.1339, allocations: 307.2 kB / 0.8615 GB, free: 13.37 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.1339, allocations: 305.1 kB / 0.8618 GB, free: 13.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.1342, allocations: 211.9 kB / 0.862 GB, free: 12.86 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.1348, allocations: 0.7642 MB / 0.8627 GB, free: 11.85 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.1359, allocations: 1.163 MB / 0.8638 GB, free: 10.45 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.1359, allocations: 4 kB / 0.8638 GB, free: 10.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.00225/0.1381, allocations: 1.637 MB / 0.8654 GB, free: 8.762 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.1382, allocations: 12 kB / 0.8655 GB, free: 8.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.1382, allocations: 20 kB / 0.8655 GB, free: 8.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.1401, allocations: 0.8323 MB / 0.8663 GB, free: 7.859 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.1408, allocations: 319.5 kB / 0.8666 GB, free: 7.547 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/0.1486, allocations: 12.52 MB / 0.8788 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.1497, allocations: 55.98 kB / 0.8789 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.544e-05/0.1498, allocations: 64 kB / 0.8789 GB, free: 10.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000911/0.1507, allocations: 236.1 kB / 0.8792 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.151, allocations: 199.8 kB / 0.8793 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.1528, allocations: 1.36 MB / 0.8807 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1528, allocations: 16 kB / 0.8807 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.1528, allocations: 8 kB / 0.8807 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.1528, allocations: 7.969 kB / 0.8807 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.1572, allocations: 2.94 MB / 0.8836 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1572, allocations: 4 kB / 0.8836 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.1577, allocations: 151.8 kB / 0.8837 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.1595, allocations: 0.8175 MB / 0.8845 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/0.1596, allocations: 24 kB / 0.8845 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008131/0.1677, allocations: 12.52 MB / 0.8968 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.1677, allocations: 11.88 kB / 0.8968 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.1705, allocations: 1.483 MB / 0.8982 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/0.1713, allocations: 306.3 kB / 0.8985 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.1715, allocations: 31.98 kB / 0.8986 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.1721, allocations: 28 kB / 0.8986 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003284/0.1724, allocations: 120.7 kB / 0.8987 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.1725, allocations: 28 kB / 0.8987 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007798/0.1733, allocations: 0.7701 MB / 0.8995 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1733, allocations: 4 kB / 0.8995 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002208/0.1755, allocations: 0.8477 MB / 0.9003 GB, free: 2.918 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000225/0.1757, allocations: 140.1 kB / 0.9004 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002841/0.1786, allocations: 2.277 MB / 0.9027 GB, free: 392 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.25e-05/0.1786, allocations: 25.81 kB / 0.9027 GB, free: 368 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.1807, allocations: 1.793 MB / 0.9044 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.1831, allocations: 0.8748 MB / 0.9053 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.1932, allocations: 6.671 MB / 0.9118 GB, free: 6.828 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.1944, allocations: 1.054 MB / 0.9128 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001178/0.1956, allocations: 296.3 kB / 0.9131 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.1969, allocations: 0.6747 MB / 0.9138 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of SimCode: time 1.422e-06/0.1969, allocations: 4 kB / 0.9138 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of Templates: time 0.06239/0.2593, allocations: 47.71 MB / 0.9604 GB, free: 6.188 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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.012989774812013]