Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001505/0.001505, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001783/0.001783, allocations: 165 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 1.019/1.019, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.809/1.809, allocations: 359 MB / 0.6052 GB, free: 11.01 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_R,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.164e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01811/0.01814, allocations: 20.05 MB / 0.8067 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.03293, allocations: 5.596 MB / 0.8122 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00543/0.03836, allocations: 194 kB / 0.8124 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004564/0.04293, allocations: 0.8337 MB / 0.8132 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.007702/0.05063, allocations: 1.855 MB / 0.815 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005338/0.05597, allocations: 1.634 MB / 0.8166 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.06692, allocations: 8.016 MB / 0.8244 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008142/0.07506, allocations: 5.215 MB / 0.8295 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00855/0.08361, allocations: 4.854 MB / 0.8342 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006238/0.08985, allocations: 3.698 MB / 0.8378 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.003116/0.09296, allocations: 0.6797 MB / 0.8385 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.09585, allocations: 0.7654 MB / 0.8393 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.09906, allocations: 2.845 MB / 0.842 GB, free: 4.004 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.004234/0.1033, allocations: 2.195 MB / 0.8442 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.007323/0.1106, allocations: 5.341 MB / 0.8494 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.1106, allocations: 0 / 0.8494 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.484e-06/0.1106, allocations: 3.984 kB / 0.8494 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002162/0.1108, allocations: 0 / 0.8494 GB, free: 12.45 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008093/0.1189, allocations: 5.632 MB / 0.8549 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.119, allocations: 12.03 kB / 0.8549 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.1221, allocations: 1.519 MB / 0.8564 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/0.1261, allocations: 3.095 MB / 0.8594 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/0.1264, allocations: 365.9 kB / 0.8598 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005107/0.1269, allocations: 476.3 kB / 0.8602 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/0.1337, allocations: 5.398 MB / 0.8655 GB, free: 11.17 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.722e-05/0.1338, allocations: 24 kB / 0.8655 GB, free: 11.14 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/0.1341, allocations: 208.3 kB / 0.8657 GB, free: 10.94 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005457/0.1346, allocations: 365 kB / 0.8661 GB, free: 10.58 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/0.1385, allocations: 1.849 MB / 0.8679 GB, free: 8.715 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.1612, allocations: 26.24 MB / 0.8935 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.1627, allocations: 0.8993 MB / 0.8944 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009224/0.1636, allocations: 0.6188 MB / 0.895 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/0.1637, allocations: 25.31 kB / 0.895 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.1637, allocations: 54.7 kB / 0.895 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.438e-06/0.1637, allocations: 0 / 0.895 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.007092/0.1708, allocations: 3.889 MB / 0.8988 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1709, allocations: 68.72 kB / 0.8989 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.1724, allocations: 1.577 MB / 0.9005 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/0.1724, allocations: 61.62 kB / 0.9005 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.1737, allocations: 2.242 MB / 0.9027 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.1741, allocations: 0.6005 MB / 0.9033 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.1745, allocations: 401.9 kB / 0.9037 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1746, allocations: 480.7 kB / 0.9041 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.1752, allocations: 376.2 kB / 0.9045 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.1762, allocations: 1.363 MB / 0.9058 GB, free: 440 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.1782, allocations: 1.918 MB / 0.9077 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.1782, allocations: 8 kB / 0.9077 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003244/0.1815, allocations: 2.374 MB / 0.91 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.1815, allocations: 19.94 kB / 0.91 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.1815, allocations: 23.98 kB / 0.9101 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.1832, allocations: 0.7225 MB / 0.9108 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008625/0.184, allocations: 431.2 kB / 0.9112 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.1968, allocations: 23.09 MB / 0.9337 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.1986, allocations: 127.9 kB / 0.9338 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.1987, allocations: 96 kB / 0.9339 GB, free: 1.621 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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.001253/0.2, allocations: 295.9 kB / 0.9342 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.2003, allocations: 306.4 kB / 0.9345 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.2028, allocations: 1.716 MB / 0.9362 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2028, allocations: 16 kB / 0.9362 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.2028, allocations: 16 kB / 0.9362 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2028, allocations: 7.969 kB / 0.9362 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006695/0.2095, allocations: 5.02 MB / 0.9411 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2095, allocations: 4.562 kB / 0.9411 GB, free: 10 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.2101, allocations: 223.6 kB / 0.9413 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.2115, allocations: 0.6989 MB / 0.942 GB, free: 9.035 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.2116, allocations: 28 kB / 0.9421 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/0.2237, allocations: 23.06 MB / 0.9646 GB, free: 480 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.2237, allocations: 11.94 kB / 0.9646 GB, free: 468 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.2268, allocations: 1.994 MB / 0.9665 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008553/0.2276, allocations: 434.2 kB / 0.9669 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.2278, allocations: 35.98 kB / 0.967 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.2283, allocations: 95.89 kB / 0.9671 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/0.2287, allocations: 148.9 kB / 0.9672 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/0.2288, allocations: 48 kB / 0.9673 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009788/0.2298, allocations: 0.8911 MB / 0.9681 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3e-07/0.2298, allocations: 0 / 0.9681 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002612/0.2324, allocations: 0.9062 MB / 0.969 GB, free: 11.75 MB / 0.9323 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002546/0.2326, allocations: 159 kB / 0.9692 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004324/0.237, allocations: 3.724 MB / 0.9728 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.237, allocations: 4.125 kB / 0.9728 GB, free: 7.648 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.2397, allocations: 3.007 MB / 0.9757 GB, free: 4.422 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.2421, allocations: 0.762 MB / 0.9765 GB, free: 3.676 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.2523, allocations: 7.008 MB / 0.9833 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.2536, allocations: 1.173 MB / 0.9845 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001242/0.2548, allocations: 444.5 kB / 0.9849 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.2551, allocations: 128.5 kB / 0.985 GB, free: 10.76 MB / 0.948 GB Notification: Performance of SimCode: time 1.974e-06/0.2551, allocations: 0 / 0.985 GB, free: 10.76 MB / 0.948 GB Notification: Performance of Templates: time 0.05371/0.3088, allocations: 42.73 MB / 1.027 GB, free: 0.9531 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.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.3298029149882495]