Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001335/0.001335, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001445/0.001445, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.9536/0.9536, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.78/1.78, allocations: 359 MB / 0.6052 GB, free: 10.96 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.291e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.006571/0.006604, allocations: 6.672 MB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003191/0.009795, allocations: 2.211 MB / 0.7958 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.01016, allocations: 51.62 kB / 0.7958 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.0108, allocations: 258.2 kB / 0.7961 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008594/0.01166, allocations: 0.706 MB / 0.7968 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.01264, allocations: 0.6566 MB / 0.7974 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.01472, allocations: 3.007 MB / 0.8004 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.01607, allocations: 1.42 MB / 0.8018 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.01755, allocations: 1.728 MB / 0.8034 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.01908, allocations: 1.615 MB / 0.805 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.01933, allocations: 236 kB / 0.8052 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.01984, allocations: 331.8 kB / 0.8056 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007497/0.02059, allocations: 1.165 MB / 0.8067 GB, free: 8.34 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006675/0.02126, allocations: 0.7875 MB / 0.8075 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.023, allocations: 2.156 MB / 0.8096 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.02301, allocations: 0 / 0.8096 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.472e-06/0.02301, allocations: 0 / 0.8096 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.399e-05/0.02305, allocations: 0 / 0.8096 GB, free: 5.391 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002548/0.02559, allocations: 2.266 MB / 0.8118 GB, free: 3.082 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.02563, allocations: 8.031 kB / 0.8118 GB, free: 3.074 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004666/0.0303, allocations: 1.668 MB / 0.8134 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.0317, allocations: 1.182 MB / 0.8146 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.03176, allocations: 111.4 kB / 0.8147 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.03198, allocations: 152.3 kB / 0.8148 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.03428, allocations: 1.838 MB / 0.8166 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.03431, allocations: 8.125 kB / 0.8166 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.03445, allocations: 68.34 kB / 0.8167 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.03463, allocations: 207.1 kB / 0.8169 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.03627, allocations: 0.8463 MB / 0.8177 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008297/0.04457, allocations: 8.967 MB / 0.8265 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.04562, allocations: 0.6481 MB / 0.8271 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/0.04634, allocations: 458.4 kB / 0.8275 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.04643, allocations: 21 kB / 0.8276 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.04645, allocations: 50.33 kB / 0.8276 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=104): time 2.786e-06/0.04646, allocations: 0 / 0.8276 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of matching and sorting (n=183): time 0.01915/0.06561, allocations: 9.443 MB / 0.8368 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.06565, allocations: 69.41 kB / 0.8369 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008894/0.06654, allocations: 0.9013 MB / 0.8378 GB, free: 7.996 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.06668, allocations: 53.7 kB / 0.8378 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.06709, allocations: 0.8666 MB / 0.8387 GB, free: 7.059 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/0.06754, allocations: 0.6741 MB / 0.8393 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004882/0.06802, allocations: 353.1 kB / 0.8397 GB, free: 6.027 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.06813, allocations: 484.8 kB / 0.8401 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/0.06898, allocations: 471.7 kB / 0.8406 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.07022, allocations: 0.9617 MB / 0.8415 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.07217, allocations: 1.549 MB / 0.843 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.07218, allocations: 4 kB / 0.843 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009324/0.08151, allocations: 4.75 MB / 0.8477 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.08153, allocations: 8 kB / 0.8477 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.08155, allocations: 8 kB / 0.8477 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009063/0.09061, allocations: 3.598 MB / 0.8512 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.09114, allocations: 191.7 kB / 0.8514 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.1149, allocations: 19.38 MB / 0.8703 GB, free: 5.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.1164, allocations: 103.9 kB / 0.8704 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.1165, allocations: 64 kB / 0.8705 GB, free: 5.605 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006775/0.1172, allocations: 244.3 kB / 0.8707 GB, free: 5.355 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.1175, allocations: 207.1 kB / 0.8709 GB, free: 5.152 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008989/0.1265, allocations: 4.736 MB / 0.8755 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.1265, allocations: 16 kB / 0.8755 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.672e-05/0.1266, allocations: 32 kB / 0.8756 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.1266, allocations: 11.95 kB / 0.8756 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.139, allocations: 7.179 MB / 0.8826 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.139, allocations: 4 kB / 0.8826 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.1393, allocations: 119.8 kB / 0.8827 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008964/0.1482, allocations: 3.483 MB / 0.8861 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.1484, allocations: 36 kB / 0.8862 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/0.1701, allocations: 17.83 MB / 0.9036 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1701, allocations: 7.938 kB / 0.9036 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009305/0.1794, allocations: 4.691 MB / 0.9082 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008648/0.1802, allocations: 0.5027 MB / 0.9086 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.1804, allocations: 43.92 kB / 0.9087 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.181, allocations: 95.83 kB / 0.9088 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006742/0.1817, allocations: 161.6 kB / 0.9089 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.1818, allocations: 48 kB / 0.909 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005217/0.1823, allocations: 0.5461 MB / 0.9095 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1823, allocations: 4 kB / 0.9095 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002304/0.1846, allocations: 1.008 MB / 0.9105 GB, free: 11.8 MB / 0.8698 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002466/0.1849, allocations: 147 kB / 0.9106 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004796/0.1897, allocations: 3.256 MB / 0.9138 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1897, allocations: 0 / 0.9138 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003873/0.1935, allocations: 2.742 MB / 0.9165 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/0.1944, allocations: 238 kB / 0.9167 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/0.1999, allocations: 4.053 MB / 0.9207 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.2006, allocations: 0.6389 MB / 0.9213 GB, free: 472 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000451/0.201, allocations: 291.2 kB / 0.9216 GB, free: 176 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.2012, allocations: 60.5 kB / 0.9216 GB, free: 116 kB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/0.2012, allocations: 0 / 0.9216 GB, free: 116 kB / 0.8698 GB Notification: Performance of Templates: time 0.06535/0.2665, allocations: 65.62 MB / 0.9857 GB, free: 14.37 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.103370996192098]