Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0008961/0.0008961, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001452/0.001452, allocations: 181 kB / 24.09 MB, free: 420 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.9531/0.9531, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.707/1.707, allocations: 359 MB / 0.6055 GB, free: 10.88 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_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.087e-05, allocations: 3.844 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01467/0.01469, allocations: 19.84 MB / 0.807 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.02734, allocations: 10.02 MB / 0.8167 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.03046, allocations: 210.4 kB / 0.8169 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.03321, allocations: 0.8646 MB / 0.8178 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005938/0.03915, allocations: 2.826 MB / 0.8205 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.04258, allocations: 1.833 MB / 0.8223 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.008987/0.05156, allocations: 8.899 MB / 0.831 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007024/0.05859, allocations: 5.398 MB / 0.8363 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00897/0.06756, allocations: 5.692 MB / 0.8419 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005251/0.07281, allocations: 3.94 MB / 0.8457 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.07445, allocations: 0.7071 MB / 0.8464 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.07659, allocations: 0.7967 MB / 0.8472 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00285/0.07944, allocations: 3.051 MB / 0.8502 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003778/0.08322, allocations: 2.366 MB / 0.8525 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006095/0.08932, allocations: 5.738 MB / 0.8581 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.08932, allocations: 0 / 0.8581 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.08932, allocations: 0 / 0.8581 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002145/0.08954, allocations: 0 / 0.8581 GB, free: 3.719 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.007282/0.09682, allocations: 6.113 MB / 0.864 GB, free: 13.54 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.09686, allocations: 12.03 kB / 0.864 GB, free: 13.52 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/0.1003, allocations: 1.632 MB / 0.8656 GB, free: 11.89 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.1048, allocations: 3.091 MB / 0.8687 GB, free: 8.711 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.105, allocations: 370.4 kB / 0.869 GB, free: 8.348 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000694/0.1057, allocations: 0.4964 MB / 0.8695 GB, free: 7.852 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/0.1111, allocations: 4.959 MB / 0.8743 GB, free: 2.367 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.353e-05/0.1112, allocations: 27.72 kB / 0.8744 GB, free: 2.34 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.1115, allocations: 216 kB / 0.8746 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004524/0.1119, allocations: 361.7 kB / 0.8749 GB, free: 1.773 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.1142, allocations: 1.503 MB / 0.8764 GB, free: 260 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.1316, allocations: 21.51 MB / 0.8974 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008509/0.1325, allocations: 0.7925 MB / 0.8982 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/0.1332, allocations: 0.6892 MB / 0.8988 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.642e-05/0.1333, allocations: 30 kB / 0.8989 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.1333, allocations: 59.39 kB / 0.8989 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=171): time 4.418e-06/0.1333, allocations: 0 / 0.8989 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=276): time 0.01359/0.1469, allocations: 7.776 MB / 0.9065 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.1469, allocations: 85.56 kB / 0.9066 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.1484, allocations: 1.813 MB / 0.9084 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.1486, allocations: 77.7 kB / 0.9084 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.15, allocations: 2.427 MB / 0.9108 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006423/0.1507, allocations: 1.011 MB / 0.9118 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005822/0.1513, allocations: 0.5285 MB / 0.9123 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.1513, allocations: 480.7 kB / 0.9128 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.1519, allocations: 0.4976 MB / 0.9133 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.153, allocations: 1.397 MB / 0.9146 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.155, allocations: 2.134 MB / 0.9167 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.155, allocations: 8 kB / 0.9167 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.005539/0.1606, allocations: 3.825 MB / 0.9205 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.1606, allocations: 16.33 kB / 0.9205 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.1606, allocations: 20 kB / 0.9205 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005615/0.1662, allocations: 2.517 MB / 0.9229 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/0.1671, allocations: 355.4 kB / 0.9233 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.1842, allocations: 19.51 MB / 0.9423 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.1858, allocations: 83.92 kB / 0.9424 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.1859, allocations: 84 kB / 0.9425 GB, free: 10.39 MB / 0.9011 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001047/0.187, allocations: 316 kB / 0.9428 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005135/0.1875, allocations: 406.1 kB / 0.9432 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/0.1926, allocations: 3.532 MB / 0.9466 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.1926, allocations: 28 kB / 0.9467 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.629e-05/0.1927, allocations: 32 kB / 0.9467 GB, free: 5.988 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.1927, allocations: 15.94 kB / 0.9467 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009393/0.2021, allocations: 6.41 MB / 0.953 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.2021, allocations: 8.125 kB / 0.953 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.2025, allocations: 183.7 kB / 0.9531 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005027/0.2075, allocations: 2.341 MB / 0.9554 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.2077, allocations: 52 kB / 0.9555 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/0.2241, allocations: 19.37 MB / 0.9744 GB, free: 8.719 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2242, allocations: 11.94 kB / 0.9744 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004949/0.2291, allocations: 3.595 MB / 0.9779 GB, free: 4.855 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.2301, allocations: 0.5837 MB / 0.9785 GB, free: 4.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.2304, allocations: 55.94 kB / 0.9785 GB, free: 4.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009618/0.2313, allocations: 56 kB / 0.9786 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005966/0.2319, allocations: 269.1 kB / 0.9789 GB, free: 3.898 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.232, allocations: 59.94 kB / 0.9789 GB, free: 3.84 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007724/0.2328, allocations: 0.9858 MB / 0.9799 GB, free: 2.844 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2328, allocations: 0 / 0.9799 GB, free: 2.844 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003242/0.236, allocations: 1.371 MB / 0.9812 GB, free: 1.473 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003042/0.2363, allocations: 175 kB / 0.9814 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005321/0.2417, allocations: 4.312 MB / 0.9856 GB, free: 12.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.2417, allocations: 4.938 kB / 0.9856 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003669/0.2453, allocations: 3.396 MB / 0.9889 GB, free: 9.328 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.2481, allocations: 1.023 MB / 0.9899 GB, free: 8.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.2605, allocations: 8.83 MB / 0.9985 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.2622, allocations: 1.423 MB / 0.9999 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001146/0.2633, allocations: 342.8 kB / 1 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.2646, allocations: 0.8687 MB / 1.001 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of SimCode: time 1.763e-06/0.2646, allocations: 0 / 1.001 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of Templates: time 0.393/0.6575, allocations: 80.49 MB / 1.08 GB, free: 241.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.593625959008932]