Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001456/0.001456, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001688/0.001688, allocations: 169 kB / 24.28 MB, free: 276 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.9991/0.9991, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.893/1.893, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_L,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0.875 kB / 0.8116 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.385e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02437/0.0244, allocations: 33.02 MB / 0.8438 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.03668, allocations: 10.53 MB / 0.8541 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.03884, allocations: 194.5 kB / 0.8543 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004812/0.04365, allocations: 3.843 MB / 0.858 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.04814, allocations: 2.001 MB / 0.86 GB, free: 380 kB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.05359, allocations: 2.162 MB / 0.8621 GB, free: 14.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.008361/0.06195, allocations: 7.465 MB / 0.8694 GB, free: 6.719 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006405/0.06835, allocations: 5.132 MB / 0.8744 GB, free: 1.461 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005436/0.07379, allocations: 4.639 MB / 0.8789 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.07808, allocations: 3.472 MB / 0.8823 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.07933, allocations: 0.6445 MB / 0.8829 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.08198, allocations: 1.684 MB / 0.8846 GB, free: 7 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00216/0.08414, allocations: 2.763 MB / 0.8873 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.08664, allocations: 2.039 MB / 0.8893 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006591/0.09323, allocations: 5.653 MB / 0.8948 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.09324, allocations: 4 kB / 0.8948 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/0.09324, allocations: 0 / 0.8948 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001893/0.09343, allocations: 0 / 0.8948 GB, free: 12.51 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006642/0.1001, allocations: 5.297 MB / 0.9 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1001, allocations: 8.031 kB / 0.9 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/0.1042, allocations: 1.566 MB / 0.9015 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003629/0.1078, allocations: 2.97 MB / 0.9044 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.108, allocations: 345.7 kB / 0.9047 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/0.1084, allocations: 468.2 kB / 0.9052 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006153/0.1146, allocations: 4.776 MB / 0.9098 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.1147, allocations: 28 kB / 0.9099 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/0.115, allocations: 204.3 kB / 0.9101 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/0.1152, allocations: 312.9 kB / 0.9104 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/0.1189, allocations: 1.762 MB / 0.9121 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02255/0.1415, allocations: 25.07 MB / 0.9366 GB, free: 280 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.1427, allocations: 0.7853 MB / 0.9373 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.1433, allocations: 0.514 MB / 0.9378 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.1434, allocations: 29.25 kB / 0.9379 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.1434, allocations: 50.7 kB / 0.9379 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=133): time 5.911e-06/0.1434, allocations: 0 / 0.9379 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.006842/0.1503, allocations: 3.742 MB / 0.9416 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1503, allocations: 68.72 kB / 0.9416 GB, free: 11 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.1516, allocations: 1.327 MB / 0.9429 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.1517, allocations: 45.7 kB / 0.943 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.1528, allocations: 2.123 MB / 0.945 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.1531, allocations: 0.5036 MB / 0.9455 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.1534, allocations: 349 kB / 0.9459 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.1535, allocations: 476.8 kB / 0.9463 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.154, allocations: 323.8 kB / 0.9466 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.1551, allocations: 1.29 MB / 0.9479 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.1566, allocations: 1.782 MB / 0.9496 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.1567, allocations: 8 kB / 0.9496 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002767/0.1594, allocations: 2.174 MB / 0.9518 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.1594, allocations: 16 kB / 0.9518 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.1595, allocations: 24 kB / 0.9518 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.161, allocations: 0.6993 MB / 0.9525 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.1616, allocations: 351.4 kB / 0.9528 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.1741, allocations: 23.79 MB / 0.976 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.1753, allocations: 111.8 kB / 0.9762 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.1754, allocations: 84 kB / 0.9762 GB, free: 5.078 MB / 0.9323 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 (185): * 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: 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.00108/0.1765, allocations: 280 kB / 0.9765 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.1768, allocations: 242.7 kB / 0.9767 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.179, allocations: 1.63 MB / 0.9783 GB, free: 2.852 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.179, allocations: 16 kB / 0.9783 GB, free: 2.836 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1791, allocations: 8 kB / 0.9783 GB, free: 2.828 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.1791, allocations: 11.91 kB / 0.9784 GB, free: 2.816 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006958/0.186, allocations: 4.772 MB / 0.983 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.186, allocations: 4 kB / 0.983 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.1865, allocations: 179.7 kB / 0.9832 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.1879, allocations: 0.6524 MB / 0.9838 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.1879, allocations: 32 kB / 0.9839 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.1995, allocations: 22.71 MB / 1.006 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.1995, allocations: 7.938 kB / 1.006 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.2024, allocations: 1.87 MB / 1.008 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/0.2031, allocations: 366.5 kB / 1.008 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.2032, allocations: 28 kB / 1.008 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.2037, allocations: 71.91 kB / 1.008 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.204, allocations: 132.6 kB / 1.008 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.204, allocations: 36 kB / 1.008 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007444/0.2048, allocations: 0.7458 MB / 1.009 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2048, allocations: 0 / 1.009 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002233/0.207, allocations: 0.8047 MB / 1.01 GB, free: 0.5859 MB / 0.9636 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002314/0.2072, allocations: 139 kB / 1.01 GB, free: 448 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003384/0.2106, allocations: 3.517 MB / 1.014 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.2106, allocations: 4 kB / 1.014 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.213, allocations: 2.846 MB / 1.016 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.2151, allocations: 0.721 MB / 1.017 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009282/0.2243, allocations: 6.565 MB / 1.023 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009933/0.2253, allocations: 1.128 MB / 1.025 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000916/0.2262, allocations: 381.2 kB / 1.025 GB, free: 0.7227 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.2265, allocations: 112.5 kB / 1.025 GB, free: 0.6133 MB / 0.9792 GB Notification: Performance of SimCode: time 2.104e-06/0.2265, allocations: 0 / 1.025 GB, free: 0.6133 MB / 0.9792 GB Notification: Performance of Templates: time 0.3942/0.6207, allocations: 36.66 MB / 1.061 GB, free: 269.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.187659159069881]