Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001553/0.001553, 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.001736/0.001736, allocations: 161 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.9806/0.9806, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.728/1.728, allocations: 359 MB / 0.6052 GB, free: 10.99 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.52e-05, allocations: 3.438 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01274/0.01275, allocations: 17.47 MB / 0.8042 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006473/0.01923, allocations: 5.097 MB / 0.8092 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.02013, allocations: 195.7 kB / 0.8094 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.02125, allocations: 0.7485 MB / 0.8101 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.02318, allocations: 1.651 MB / 0.8117 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.02489, allocations: 1.57 MB / 0.8132 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004966/0.02986, allocations: 7.336 MB / 0.8204 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00441/0.03427, allocations: 5.077 MB / 0.8254 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.03784, allocations: 4.571 MB / 0.8298 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003193/0.04103, allocations: 3.531 MB / 0.8333 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000788/0.04182, allocations: 0.6445 MB / 0.8339 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008792/0.0427, allocations: 0.738 MB / 0.8346 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.04421, allocations: 2.756 MB / 0.8373 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.04608, allocations: 2.027 MB / 0.8393 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.008621/0.0547, allocations: 5.029 MB / 0.8442 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.05471, allocations: 4 kB / 0.8442 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.826e-06/0.05471, allocations: 0 / 0.8442 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000279/0.05499, allocations: 0 / 0.8442 GB, free: 1.766 MB / 0.7917 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.01295/0.06794, allocations: 5.162 MB / 0.8492 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.06799, allocations: 8.031 kB / 0.8492 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005485/0.07347, allocations: 1.472 MB / 0.8507 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00539/0.07886, allocations: 2.914 MB / 0.8535 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.07906, allocations: 357.6 kB / 0.8539 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005758/0.07964, allocations: 480.2 kB / 0.8543 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007533/0.08717, allocations: 4.768 MB / 0.859 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.08729, allocations: 24.02 kB / 0.859 GB, free: 1.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/0.08761, allocations: 196.3 kB / 0.8592 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002603/0.08787, allocations: 320.9 kB / 0.8595 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004045/0.09192, allocations: 1.762 MB / 0.8612 GB, free: 15.64 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02234/0.1143, allocations: 25.08 MB / 0.8857 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1154, allocations: 0.7931 MB / 0.8865 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/0.116, allocations: 0.507 MB / 0.887 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/0.1161, allocations: 21.31 kB / 0.887 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1161, allocations: 54.7 kB / 0.8871 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=133): time 5.56e-06/0.1161, allocations: 0 / 0.8871 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=136): time 0.006816/0.1229, allocations: 3.745 MB / 0.8907 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.123, allocations: 68.72 kB / 0.8908 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1241, allocations: 1.327 MB / 0.8921 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.1242, allocations: 49.64 kB / 0.8921 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.1252, allocations: 2.119 MB / 0.8942 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.1255, allocations: 0.5036 MB / 0.8947 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.1258, allocations: 353 kB / 0.895 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.1259, allocations: 480.7 kB / 0.8955 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.1264, allocations: 327.8 kB / 0.8958 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008782/0.1272, allocations: 1.29 MB / 0.8971 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.129, allocations: 1.779 MB / 0.8988 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.129, allocations: 8 kB / 0.8988 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002909/0.1319, allocations: 2.167 MB / 0.9009 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.132, allocations: 20.06 kB / 0.9009 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.132, allocations: 24 kB / 0.901 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.1335, allocations: 0.7026 MB / 0.9016 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.1342, allocations: 351.4 kB / 0.902 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.1461, allocations: 23.78 MB / 0.9252 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.1472, allocations: 115.8 kB / 0.9253 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.1473, allocations: 80 kB / 0.9254 GB, free: 10.61 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 (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.0009494/0.1483, allocations: 280 kB / 0.9257 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.1485, allocations: 242.7 kB / 0.9259 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.1508, allocations: 1.626 MB / 0.9275 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1508, allocations: 16 kB / 0.9275 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.1508, allocations: 8 kB / 0.9275 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.1508, allocations: 7.969 kB / 0.9275 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.1569, allocations: 4.788 MB / 0.9322 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.1569, allocations: 7.938 kB / 0.9322 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.1574, allocations: 183.7 kB / 0.9324 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.1587, allocations: 0.6403 MB / 0.933 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.1588, allocations: 28 kB / 0.933 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.1697, allocations: 22.73 MB / 0.9552 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1697, allocations: 4 kB / 0.9552 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.1723, allocations: 1.866 MB / 0.957 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/0.1728, allocations: 366.6 kB / 0.9574 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.1729, allocations: 31.98 kB / 0.9574 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.1733, allocations: 63.92 kB / 0.9575 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.1736, allocations: 132.6 kB / 0.9576 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.1737, allocations: 36 kB / 0.9576 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007563/0.1744, allocations: 0.7536 MB / 0.9584 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1744, allocations: 3.938 kB / 0.9584 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002267/0.1767, allocations: 0.793 MB / 0.9591 GB, free: 6.105 MB / 0.9167 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.0002237/0.1769, allocations: 141.7 kB / 0.9593 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003259/0.1802, allocations: 3.526 MB / 0.9627 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.1802, allocations: 4 kB / 0.9627 GB, free: 2.219 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.1822, allocations: 2.838 MB / 0.9655 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.1839, allocations: 0.7114 MB / 0.9662 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009548/0.1935, allocations: 6.586 MB / 0.9726 GB, free: 7.746 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.1947, allocations: 1.136 MB / 0.9737 GB, free: 6.586 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001059/0.1957, allocations: 377.2 kB / 0.9741 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.196, allocations: 112.5 kB / 0.9742 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of SimCode: time 2.555e-06/0.196, allocations: 0 / 0.9742 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of Templates: time 0.0487/0.2447, allocations: 38.3 MB / 1.012 GB, free: 0.5508 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.277566340751946]