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.0009829/0.0009829, allocations: 87.58 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.002051/0.002051, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9837/0.9837, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.876/1.876, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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.513e-06/1.513e-06, allocations: 0 / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.602e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01435/0.01438, allocations: 17.48 MB / 0.8286 GB, free: 200 kB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008261/0.02264, allocations: 5.093 MB / 0.8336 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.02489, allocations: 195.1 kB / 0.8338 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.02701, allocations: 0.7501 MB / 0.8345 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.03041, allocations: 1.646 MB / 0.8361 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.03316, allocations: 1.565 MB / 0.8377 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.007105/0.04027, allocations: 7.341 MB / 0.8448 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006176/0.04644, allocations: 5.081 MB / 0.8498 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006596/0.05304, allocations: 4.562 MB / 0.8542 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00461/0.05765, allocations: 3.472 MB / 0.8576 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.0591, allocations: 0.6445 MB / 0.8583 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.06085, allocations: 0.7453 MB / 0.859 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002521/0.06337, allocations: 2.767 MB / 0.8617 GB, free: 14.19 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00291/0.06628, allocations: 2.035 MB / 0.8637 GB, free: 12.15 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005087/0.07137, allocations: 5.06 MB / 0.8686 GB, free: 7.074 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.07137, allocations: 0 / 0.8686 GB, free: 7.074 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.883e-06/0.07138, allocations: 0 / 0.8686 GB, free: 7.074 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001896/0.07156, allocations: 3.938 kB / 0.8686 GB, free: 7.07 MB / 0.823 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.006503/0.07807, allocations: 5.157 MB / 0.8737 GB, free: 1.852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.07812, allocations: 8.031 kB / 0.8737 GB, free: 1.844 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/0.08235, allocations: 1.558 MB / 0.8752 GB, free: 288 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.08589, allocations: 2.966 MB / 0.8781 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.08606, allocations: 349.7 kB / 0.8784 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/0.08652, allocations: 468.2 kB / 0.8789 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00571/0.09223, allocations: 4.768 MB / 0.8835 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-05/0.09232, allocations: 35.94 kB / 0.8836 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.09262, allocations: 196.3 kB / 0.8837 GB, free: 6.918 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/0.09285, allocations: 312.9 kB / 0.884 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.0962, allocations: 1.769 MB / 0.8858 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.1138, allocations: 25.07 MB / 0.9103 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.115, allocations: 0.795 MB / 0.911 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/0.1157, allocations: 0.5074 MB / 0.9115 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.119e-05/0.1158, allocations: 21.31 kB / 0.9115 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1158, allocations: 50.7 kB / 0.9116 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 3.277e-06/0.1158, allocations: 0 / 0.9116 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.006497/0.1223, allocations: 3.749 MB / 0.9153 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1223, allocations: 64.72 kB / 0.9153 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1234, allocations: 1.327 MB / 0.9166 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.1234, allocations: 45.7 kB / 0.9167 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009457/0.1244, allocations: 2.115 MB / 0.9187 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.1247, allocations: 0.5075 MB / 0.9192 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.1251, allocations: 349 kB / 0.9195 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1252, allocations: 484.7 kB / 0.92 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.1256, allocations: 323.8 kB / 0.9203 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008942/0.1265, allocations: 1.294 MB / 0.9216 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.1281, allocations: 1.775 MB / 0.9233 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.1281, allocations: 8 kB / 0.9233 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002768/0.1308, allocations: 2.175 MB / 0.9254 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1309, allocations: 16 kB / 0.9255 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.1309, allocations: 24 kB / 0.9255 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.1323, allocations: 0.7028 MB / 0.9262 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.133, allocations: 343.4 kB / 0.9265 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.1439, allocations: 23.8 MB / 0.9497 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.1445, allocations: 107.7 kB / 0.9498 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.1445, allocations: 88 kB / 0.9499 GB, free: 15.79 MB / 0.9167 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.0006851/0.1452, allocations: 286.4 kB / 0.9502 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.1454, allocations: 242.7 kB / 0.9504 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.1476, allocations: 1.618 MB / 0.952 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1476, allocations: 16 kB / 0.952 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1476, allocations: 8 kB / 0.952 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1476, allocations: 7.969 kB / 0.952 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005905/0.1535, allocations: 4.791 MB / 0.9567 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.1535, allocations: 4 kB / 0.9567 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.1539, allocations: 175.7 kB / 0.9569 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.1552, allocations: 0.6442 MB / 0.9575 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.1553, allocations: 28 kB / 0.9575 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.1675, allocations: 22.72 MB / 0.9797 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.1675, allocations: 8 kB / 0.9797 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.1704, allocations: 1.87 MB / 0.9816 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.171, allocations: 362.6 kB / 0.9819 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1711, allocations: 24 kB / 0.9819 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.1715, allocations: 75.91 kB / 0.982 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.1718, allocations: 132.6 kB / 0.9821 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.1718, allocations: 36 kB / 0.9822 GB, free: 12.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007036/0.1725, allocations: 0.7458 MB / 0.9829 GB, free: 12.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/0.1725, allocations: 0 / 0.9829 GB, free: 12.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001937/0.1745, allocations: 0.793 MB / 0.9837 GB, free: 11.31 MB / 0.948 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.0001918/0.1747, allocations: 147 kB / 0.9838 GB, free: 11.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003187/0.1778, allocations: 3.518 MB / 0.9872 GB, free: 7.426 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1779, allocations: 0 / 0.9872 GB, free: 7.426 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.1801, allocations: 2.85 MB / 0.99 GB, free: 4.363 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.1819, allocations: 0.7105 MB / 0.9907 GB, free: 3.676 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00878/0.1907, allocations: 6.556 MB / 0.9971 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.1918, allocations: 1.136 MB / 0.9982 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008742/0.1926, allocations: 381.2 kB / 0.9986 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.1929, allocations: 116.4 kB / 0.9987 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of SimCode: time 1.884e-06/0.1929, allocations: 4 kB / 0.9987 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.04672/0.2396, allocations: 36.66 MB / 1.035 GB, free: 7.41 MB / 0.9948 GB " [Timeout remaining time 300] 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.111478240229189]