Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001342/0.001342, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001653/0.001653, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.9508/0.9508, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.745/1.745, allocations: 359 MB / 0.6063 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.5e-05, allocations: 7.344 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.01309/0.01312, allocations: 17.79 MB / 0.8057 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009008/0.02213, allocations: 5.57 MB / 0.8112 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.02491, allocations: 210.4 kB / 0.8114 GB, free: 4.566 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.02729, allocations: 0.8106 MB / 0.8121 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004091/0.03138, allocations: 1.79 MB / 0.8139 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.03485, allocations: 1.741 MB / 0.8156 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008735/0.04359, allocations: 8.47 MB / 0.8239 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008036/0.05162, allocations: 6.026 MB / 0.8297 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00946/0.06108, allocations: 5.372 MB / 0.835 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005927/0.06701, allocations: 4.262 MB / 0.8392 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001633/0.06864, allocations: 0.7822 MB / 0.8399 GB, free: 7.152 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.07064, allocations: 0.8592 MB / 0.8408 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003023/0.07366, allocations: 3.321 MB / 0.844 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00372/0.07738, allocations: 2.394 MB / 0.8463 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006184/0.08356, allocations: 5.969 MB / 0.8522 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.08357, allocations: 3.938 kB / 0.8522 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.072e-06/0.08357, allocations: 1.875 kB / 0.8522 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002478/0.08382, allocations: 4 kB / 0.8522 GB, free: 10.57 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.007455/0.09127, allocations: 5.958 MB / 0.858 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.09132, allocations: 8.031 kB / 0.858 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/0.09468, allocations: 1.569 MB / 0.8595 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.09876, allocations: 2.996 MB / 0.8625 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.09898, allocations: 415.4 kB / 0.8629 GB, free: 15.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007857/0.09977, allocations: 0.5432 MB / 0.8634 GB, free: 14.96 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006606/0.1064, allocations: 5.088 MB / 0.8684 GB, free: 9.367 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.1065, allocations: 39.88 kB / 0.8684 GB, free: 9.328 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/0.1069, allocations: 236.3 kB / 0.8686 GB, free: 9.098 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/0.1071, allocations: 358.7 kB / 0.869 GB, free: 8.746 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.1102, allocations: 1.615 MB / 0.8705 GB, free: 7.121 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/0.1329, allocations: 25.6 MB / 0.8955 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.1342, allocations: 1.126 MB / 0.8966 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008568/0.1351, allocations: 0.7788 MB / 0.8974 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/0.1351, allocations: 30 kB / 0.8974 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1352, allocations: 55.39 kB / 0.8975 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 4.458e-06/0.1352, allocations: 0 / 0.8975 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01173/0.1469, allocations: 5.344 MB / 0.9027 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.147, allocations: 69.41 kB / 0.9028 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1481, allocations: 1.361 MB / 0.9041 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.344e-05/0.1482, allocations: 53.7 kB / 0.9042 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.1493, allocations: 2.381 MB / 0.9065 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004558/0.1498, allocations: 0.6857 MB / 0.9071 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/0.1502, allocations: 425.9 kB / 0.9076 GB, free: 428 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1503, allocations: 476.8 kB / 0.908 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.1507, allocations: 292.2 kB / 0.9083 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008205/0.1515, allocations: 1.317 MB / 0.9096 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.1529, allocations: 1.811 MB / 0.9113 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.1529, allocations: 7.938 kB / 0.9113 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003173/0.1561, allocations: 2.379 MB / 0.9137 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.1561, allocations: 19.98 kB / 0.9137 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.1561, allocations: 20 kB / 0.9137 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.1583, allocations: 1.184 MB / 0.9149 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.159, allocations: 319.5 kB / 0.9152 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009706/0.1687, allocations: 12.19 MB / 0.9271 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.1697, allocations: 60 kB / 0.9271 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.1699, allocations: 83.98 kB / 0.9272 GB, free: 10.94 MB / 0.8855 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001094/0.171, allocations: 284 kB / 0.9275 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.1713, allocations: 286.6 kB / 0.9278 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.1738, allocations: 1.931 MB / 0.9296 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1738, allocations: 20 kB / 0.9297 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.1738, allocations: 16 kB / 0.9297 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.1738, allocations: 15.84 kB / 0.9297 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00672/0.1805, allocations: 4.563 MB / 0.9341 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1806, allocations: 8 kB / 0.9342 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.181, allocations: 147.8 kB / 0.9343 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/0.1829, allocations: 0.9814 MB / 0.9353 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/0.1829, allocations: 36 kB / 0.9353 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008621/0.1916, allocations: 11.4 MB / 0.9464 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.1916, allocations: 11.94 kB / 0.9464 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.1943, allocations: 2.175 MB / 0.9486 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/0.1949, allocations: 390.4 kB / 0.9489 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.1951, allocations: 35.98 kB / 0.949 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.1955, allocations: 36.19 kB / 0.949 GB, free: 3.859 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/0.1959, allocations: 173.5 kB / 0.9492 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.1959, allocations: 36 kB / 0.9492 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005305/0.1965, allocations: 0.7275 MB / 0.9499 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1965, allocations: 0 / 0.9499 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002367/0.1988, allocations: 0.9961 MB / 0.9509 GB, free: 1.941 MB / 0.9011 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.199, allocations: 144.9 kB / 0.951 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003031/0.2021, allocations: 2.791 MB / 0.9537 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2021, allocations: 0 / 0.9537 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.2042, allocations: 2.083 MB / 0.9558 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.2062, allocations: 0.7598 MB / 0.9565 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.2163, allocations: 7.792 MB / 0.9641 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.2176, allocations: 1.357 MB / 0.9655 GB, free: 2.715 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008527/0.2185, allocations: 251.4 kB / 0.9657 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000871/0.2193, allocations: 0.5798 MB / 0.9663 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of SimCode: time 1.533e-06/0.2193, allocations: 0 / 0.9663 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of Templates: time 0.06109/0.2804, allocations: 48.38 MB / 1.014 GB, free: 2.375 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.003118914086372]