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.001347/0.001347, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001525/0.001525, allocations: 167 kB / 24.86 MB, free: 8.836 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.9043/0.9043, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.751/1.751, allocations: 359 MB / 0.6063 GB, free: 10.91 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.643e-06/1.643e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.942e-05, allocations: 9.484 kB / 0.7883 GB, free: 12.2 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01544/0.01547, allocations: 16.97 MB / 0.8049 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008599/0.02407, allocations: 5.086 MB / 0.8099 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.02637, allocations: 198.5 kB / 0.8101 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.02805, allocations: 0.749 MB / 0.8108 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.03109, allocations: 1.648 MB / 0.8124 GB, free: 3.504 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.03376, allocations: 1.567 MB / 0.8139 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0074/0.04116, allocations: 7.34 MB / 0.8211 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007067/0.04823, allocations: 5.082 MB / 0.8261 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006502/0.05473, allocations: 4.564 MB / 0.8305 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004647/0.05938, allocations: 3.545 MB / 0.834 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.06087, allocations: 0.6475 MB / 0.8346 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.06241, allocations: 0.7264 MB / 0.8353 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002596/0.06501, allocations: 2.763 MB / 0.838 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.003169/0.06817, allocations: 2.023 MB / 0.84 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004859/0.07303, allocations: 5.033 MB / 0.8449 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.07304, allocations: 0 / 0.8449 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.493e-06/0.07304, allocations: 0 / 0.8449 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002418/0.07328, allocations: 0 / 0.8449 GB, free: 2.027 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.006918/0.0802, allocations: 5.166 MB / 0.85 GB, free: 12.8 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.08024, allocations: 12.03 kB / 0.85 GB, free: 12.79 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.08305, allocations: 1.351 MB / 0.8513 GB, free: 11.44 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.08629, allocations: 2.691 MB / 0.8539 GB, free: 8.684 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.08647, allocations: 349.7 kB / 0.8543 GB, free: 8.34 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004703/0.08694, allocations: 472.3 kB / 0.8547 GB, free: 7.879 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/0.0932, allocations: 4.462 MB / 0.8591 GB, free: 2.883 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.09331, allocations: 28 kB / 0.8591 GB, free: 2.855 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.09362, allocations: 204.3 kB / 0.8593 GB, free: 2.656 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.09385, allocations: 316.9 kB / 0.8596 GB, free: 2.344 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.09629, allocations: 1.403 MB / 0.861 GB, free: 0.918 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/0.1158, allocations: 23.96 MB / 0.8844 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000953/0.1167, allocations: 0.6895 MB / 0.885 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.1172, allocations: 451.1 kB / 0.8855 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.1172, allocations: 21.31 kB / 0.8855 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1173, allocations: 50.64 kB / 0.8855 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=133): time 4.349e-06/0.1173, allocations: 0 / 0.8855 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=136): time 0.006097/0.1234, allocations: 3.019 MB / 0.8885 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.1234, allocations: 64.72 kB / 0.8885 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1244, allocations: 1.318 MB / 0.8898 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.1245, allocations: 45.7 kB / 0.8899 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009415/0.1254, allocations: 2.123 MB / 0.8919 GB, free: 320 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.1257, allocations: 0.5115 MB / 0.8924 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.1261, allocations: 368.8 kB / 0.8928 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1262, allocations: 480.5 kB / 0.8932 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.1266, allocations: 243.8 kB / 0.8935 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.1273, allocations: 1.228 MB / 0.8947 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.1285, allocations: 1.646 MB / 0.8963 GB, free: 11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.1285, allocations: 4 kB / 0.8963 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002551/0.1311, allocations: 1.976 MB / 0.8982 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.1311, allocations: 20.03 kB / 0.8982 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.1311, allocations: 20 kB / 0.8983 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.1326, allocations: 0.687 MB / 0.8989 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.1332, allocations: 323.4 kB / 0.8992 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.1448, allocations: 23.35 MB / 0.922 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.146, allocations: 56 kB / 0.9221 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.1461, allocations: 68 kB / 0.9222 GB, free: 15.03 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.001011/0.1471, allocations: 290.7 kB / 0.9224 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.1474, allocations: 250.7 kB / 0.9227 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.1493, allocations: 1.477 MB / 0.9241 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.1493, allocations: 12 kB / 0.9241 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.1494, allocations: 12 kB / 0.9241 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1494, allocations: 7.969 kB / 0.9241 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.155, allocations: 3.666 MB / 0.9277 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.155, allocations: 4 kB / 0.9277 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.1554, allocations: 139.8 kB / 0.9279 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.1567, allocations: 0.6285 MB / 0.9285 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.328e-05/0.1568, allocations: 28 kB / 0.9285 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.1672, allocations: 22.32 MB / 0.9503 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1672, allocations: 11.88 kB / 0.9503 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.1696, allocations: 1.721 MB / 0.952 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.1703, allocations: 330.6 kB / 0.9523 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.1704, allocations: 39.88 kB / 0.9523 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.1708, allocations: 31.94 kB / 0.9524 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.1711, allocations: 124.7 kB / 0.9525 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.1712, allocations: 28 kB / 0.9525 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005949/0.1718, allocations: 0.6986 MB / 0.9532 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1718, allocations: 0 / 0.9532 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002557/0.1743, allocations: 0.793 MB / 0.954 GB, free: 12.63 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.0002278/0.1746, allocations: 143 kB / 0.9541 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003004/0.1776, allocations: 3.401 MB / 0.9574 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1776, allocations: 0 / 0.9574 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.1797, allocations: 2.795 MB / 0.9602 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.1821, allocations: 0.7076 MB / 0.9609 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.1923, allocations: 6.581 MB / 0.9673 GB, free: 14.45 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.1936, allocations: 1.132 MB / 0.9684 GB, free: 13.29 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.0008674/0.1945, allocations: 241.5 kB / 0.9686 GB, free: 13.05 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008475/0.1953, allocations: 0.5682 MB / 0.9692 GB, free: 12.48 MB / 0.9324 GB Notification: Performance of SimCode: time 2.525e-06/0.1953, allocations: 0 / 0.9692 GB, free: 12.48 MB / 0.9324 GB Notification: Performance of Templates: time 0.05467/0.25, allocations: 39.6 MB / 1.008 GB, free: 5.707 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: 5.884729469195008]