Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001045/0.001045, 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.001184/0.001184, allocations: 169 kB / 24.28 MB, free: 280 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.9866/0.9866, allocations: 177.1 MB / 204.6 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.752/1.752, allocations: 359 MB / 0.6055 GB, free: 11 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.433e-05, allocations: 6.078 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02115/0.02117, allocations: 26.98 MB / 0.8135 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.03235, allocations: 8.265 MB / 0.8215 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.03453, allocations: 150.9 kB / 0.8217 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003979/0.03851, allocations: 2.855 MB / 0.8245 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.04257, allocations: 1.715 MB / 0.8262 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.04593, allocations: 1.699 MB / 0.8278 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.006481/0.05241, allocations: 6.258 MB / 0.8339 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004316/0.05673, allocations: 3.777 MB / 0.8376 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005356/0.06208, allocations: 3.754 MB / 0.8413 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.06543, allocations: 2.806 MB / 0.844 GB, free: 2.309 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0007985/0.06623, allocations: 0.5117 MB / 0.8445 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.0682, allocations: 1.224 MB / 0.8457 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.07033, allocations: 2.229 MB / 0.8479 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.07244, allocations: 1.676 MB / 0.8495 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.07803, allocations: 4.515 MB / 0.8539 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.07804, allocations: 0 / 0.8539 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.303e-06/0.07804, allocations: 0 / 0.8539 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001511/0.07819, allocations: 0 / 0.8539 GB, free: 8.129 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.005947/0.08414, allocations: 4.482 MB / 0.8583 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.08419, allocations: 8.031 kB / 0.8583 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.08774, allocations: 1.278 MB / 0.8596 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.09146, allocations: 2.505 MB / 0.862 GB, free: 15.72 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.09161, allocations: 275.5 kB / 0.8623 GB, free: 15.46 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005761/0.09219, allocations: 380.8 kB / 0.8626 GB, free: 15.09 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005403/0.09759, allocations: 3.968 MB / 0.8665 GB, free: 10.67 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.018e-05/0.09767, allocations: 23.77 kB / 0.8665 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.09795, allocations: 156 kB / 0.8667 GB, free: 10.49 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003777/0.09833, allocations: 282.9 kB / 0.867 GB, free: 10.21 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.1015, allocations: 1.422 MB / 0.8683 GB, free: 8.785 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01658/0.1181, allocations: 19.81 MB / 0.8877 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.1188, allocations: 455.4 kB / 0.8881 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007909/0.1196, allocations: 408 kB / 0.8885 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.1196, allocations: 25 kB / 0.8885 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.1197, allocations: 50.38 kB / 0.8886 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 4.709e-06/0.1197, allocations: 3.984 kB / 0.8886 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131): time 0.008907/0.1286, allocations: 4.887 MB / 0.8934 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1286, allocations: 68.72 kB / 0.8934 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.1299, allocations: 1.3 MB / 0.8947 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.132e-05/0.13, allocations: 45.7 kB / 0.8947 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.1312, allocations: 1.784 MB / 0.8965 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/0.1315, allocations: 0.4921 MB / 0.897 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.1318, allocations: 337 kB / 0.8973 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.132, allocations: 476.8 kB / 0.8977 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.1325, allocations: 331.7 kB / 0.8981 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009325/0.1334, allocations: 1.101 MB / 0.8991 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.1351, allocations: 1.567 MB / 0.9007 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.1351, allocations: 4 kB / 0.9007 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003147/0.1382, allocations: 1.988 MB / 0.9026 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.1382, allocations: 12 kB / 0.9026 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.1383, allocations: 16 kB / 0.9026 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.1396, allocations: 0.5675 MB / 0.9032 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.1405, allocations: 391.3 kB / 0.9036 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009325/0.1498, allocations: 17.12 MB / 0.9203 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.151, allocations: 107.8 kB / 0.9204 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.1511, allocations: 76.19 kB / 0.9205 GB, free: 0.793 MB / 0.8698 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000854/0.152, allocations: 274 kB / 0.9207 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.1522, allocations: 238.8 kB / 0.9209 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.1545, allocations: 1.525 MB / 0.9224 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1545, allocations: 16 kB / 0.9225 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.1545, allocations: 8 kB / 0.9225 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1546, allocations: 7.969 kB / 0.9225 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00592/0.1605, allocations: 4.19 MB / 0.9266 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.1605, allocations: 8 kB / 0.9266 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.1611, allocations: 223.7 kB / 0.9268 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.1623, allocations: 0.5359 MB / 0.9273 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.1624, allocations: 35.98 kB / 0.9273 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008917/0.1713, allocations: 17.09 MB / 0.944 GB, free: 7.266 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1713, allocations: 11.94 kB / 0.944 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.1743, allocations: 2.06 MB / 0.9461 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.1749, allocations: 354.6 kB / 0.9464 GB, free: 4.699 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.175, allocations: 35.95 kB / 0.9464 GB, free: 4.664 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.1755, allocations: 83.89 kB / 0.9465 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/0.1758, allocations: 128.5 kB / 0.9466 GB, free: 4.453 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.1758, allocations: 36 kB / 0.9467 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000746/0.1766, allocations: 0.7525 MB / 0.9474 GB, free: 3.672 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1766, allocations: 0 / 0.9474 GB, free: 3.672 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00179/0.1784, allocations: 0.6875 MB / 0.9481 GB, free: 2.984 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.0002107/0.1786, allocations: 154.1 kB / 0.9482 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.1816, allocations: 2.855 MB / 0.951 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1816, allocations: 4.875 kB / 0.951 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.1832, allocations: 2.266 MB / 0.9532 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.1848, allocations: 0.6336 MB / 0.9538 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/0.1928, allocations: 5.828 MB / 0.9595 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009267/0.1937, allocations: 0.9286 MB / 0.9604 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001016/0.1947, allocations: 400.4 kB / 0.9608 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.195, allocations: 112.5 kB / 0.9609 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of SimCode: time 2.695e-06/0.195, allocations: 0 / 0.9609 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of Templates: time 0.04347/0.2385, allocations: 33.98 MB / 0.9941 GB, free: 4.105 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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.669725692132488]