Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001165/0.001165, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001334/0.001334, allocations: 169 kB / 24.06 MB, free: 456 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.9741/0.9741, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.124/2.124, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.924e-05, allocations: 6.719 kB / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01432/0.01434, allocations: 15.1 MB / 0.8942 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008109/0.02245, allocations: 4.494 MB / 0.8985 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.02465, allocations: 150.9 kB / 0.8987 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.02651, allocations: 0.632 MB / 0.8993 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.02978, allocations: 1.456 MB / 0.9007 GB, free: 96 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.03282, allocations: 1.314 MB / 0.902 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.007455/0.04027, allocations: 6.168 MB / 0.908 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005874/0.04614, allocations: 3.777 MB / 0.9117 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006775/0.05292, allocations: 3.704 MB / 0.9153 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.05739, allocations: 2.86 MB / 0.9181 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.05889, allocations: 0.5078 MB / 0.9186 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.06069, allocations: 0.5974 MB / 0.9192 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002495/0.06319, allocations: 2.222 MB / 0.9214 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003387/0.06657, allocations: 1.672 MB / 0.923 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.005447/0.07202, allocations: 4.106 MB / 0.927 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.07203, allocations: 0 / 0.927 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.482e-06/0.07203, allocations: 0 / 0.927 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002799/0.07231, allocations: 0 / 0.927 GB, free: 5.02 MB / 0.8855 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.007277/0.07958, allocations: 4.381 MB / 0.9313 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.07962, allocations: 8.031 kB / 0.9313 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.08259, allocations: 1.102 MB / 0.9324 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/0.08588, allocations: 2.259 MB / 0.9346 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.08605, allocations: 271.6 kB / 0.9349 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006935/0.08674, allocations: 380.8 kB / 0.9352 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005348/0.09209, allocations: 3.725 MB / 0.9389 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.52e-05/0.09218, allocations: 23.77 kB / 0.9389 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.09253, allocations: 156 kB / 0.939 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003863/0.09292, allocations: 270.9 kB / 0.9393 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.09524, allocations: 1.132 MB / 0.9404 GB, free: 6.762 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.1136, allocations: 18.87 MB / 0.9588 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.1142, allocations: 380 kB / 0.9592 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/0.1146, allocations: 351.2 kB / 0.9595 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.839e-05/0.1147, allocations: 21 kB / 0.9595 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.1147, allocations: 54.33 kB / 0.9596 GB, free: 2.477 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 6.402e-06/0.1147, allocations: 3.984 kB / 0.9596 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.008293/0.123, allocations: 4.186 MB / 0.9637 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.123, allocations: 64.72 kB / 0.9637 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.1242, allocations: 1.303 MB / 0.965 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.1242, allocations: 49.7 kB / 0.9651 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008577/0.1251, allocations: 1.784 MB / 0.9668 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/0.1256, allocations: 495.8 kB / 0.9673 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/0.1259, allocations: 344.9 kB / 0.9676 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.126, allocations: 480.8 kB / 0.9681 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1263, allocations: 247.8 kB / 0.9683 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.127, allocations: 1.026 MB / 0.9693 GB, free: 8.062 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.1281, allocations: 1.426 MB / 0.9707 GB, free: 6.309 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.1281, allocations: 4 kB / 0.9707 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002336/0.1304, allocations: 1.805 MB / 0.9725 GB, free: 4.453 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1304, allocations: 15.98 kB / 0.9725 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.1305, allocations: 20 kB / 0.9725 GB, free: 4.418 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.1318, allocations: 0.5829 MB / 0.9731 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/0.1326, allocations: 335.5 kB / 0.9734 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00939/0.142, allocations: 16.85 MB / 0.9898 GB, free: 1.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.1433, allocations: 48 kB / 0.9899 GB, free: 1.543 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.1434, allocations: 64 kB / 0.99 GB, free: 1.48 MB / 0.948 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.001045/0.1445, allocations: 274.2 kB / 0.9902 GB, free: 1.203 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.1448, allocations: 238.8 kB / 0.9904 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.1469, allocations: 1.388 MB / 0.9918 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1469, allocations: 12 kB / 0.9918 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.1469, allocations: 8 kB / 0.9918 GB, free: 15.51 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.1469, allocations: 3.984 kB / 0.9918 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005685/0.1526, allocations: 3.274 MB / 0.995 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.1526, allocations: 7.938 kB / 0.995 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.1532, allocations: 187.7 kB / 0.9952 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.1545, allocations: 0.5515 MB / 0.9957 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.1546, allocations: 35.94 kB / 0.9958 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009014/0.1636, allocations: 16.8 MB / 1.012 GB, free: 9.418 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1636, allocations: 7.938 kB / 1.012 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.1664, allocations: 1.873 MB / 1.014 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/0.167, allocations: 338.6 kB / 1.014 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.1671, allocations: 32 kB / 1.014 GB, free: 7.027 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.1676, allocations: 31.94 kB / 1.014 GB, free: 6.996 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.1678, allocations: 124.6 kB / 1.015 GB, free: 6.871 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.1679, allocations: 35.98 kB / 1.015 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000605/0.1685, allocations: 0.6897 MB / 1.015 GB, free: 6.152 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.61e-07/0.1685, allocations: 0 / 1.015 GB, free: 6.152 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002297/0.1708, allocations: 0.6953 MB / 1.016 GB, free: 5.457 MB / 0.9792 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.0002275/0.171, allocations: 154.5 kB / 1.016 GB, free: 5.301 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.1738, allocations: 2.738 MB / 1.019 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.1738, allocations: 4 kB / 1.019 GB, free: 2.406 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.1756, allocations: 2.2 MB / 1.021 GB, free: 44 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.1774, allocations: 0.6322 MB / 1.021 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.1853, allocations: 5.823 MB / 1.027 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009217/0.1862, allocations: 0.9402 MB / 1.028 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008491/0.1871, allocations: 236.7 kB / 1.028 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008853/0.1879, allocations: 0.5838 MB / 1.029 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of SimCode: time 2.465e-06/0.188, allocations: 0 / 1.029 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of Templates: time 0.4031/0.591, allocations: 37.19 MB / 1.065 GB, free: 175.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.6860028128139675]