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.001354/0.001354, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001642/0.001642, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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 3.277/3.277, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",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.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.39e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.04037/0.04041, allocations: 25.07 MB / 0.9021 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.05884, allocations: 8.008 MB / 0.9099 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.06167, allocations: 154.8 kB / 0.9101 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.009082/0.07075, allocations: 2.788 MB / 0.9128 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.005869/0.07662, allocations: 1.709 MB / 0.9145 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.08223, allocations: 1.691 MB / 0.9161 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.0924, allocations: 6.262 MB / 0.9222 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008013/0.1004, allocations: 3.762 MB / 0.9259 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008829/0.1092, allocations: 3.711 MB / 0.9295 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005927/0.1152, allocations: 2.63 MB / 0.9321 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/0.1169, allocations: 0.5156 MB / 0.9326 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/0.1209, allocations: 1.22 MB / 0.9338 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004086/0.125, allocations: 2.21 MB / 0.9359 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.005127/0.1301, allocations: 1.68 MB / 0.9376 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.1451, allocations: 8.259 MB / 0.9456 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1451, allocations: 0 / 0.9456 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1451, allocations: 0 / 0.9456 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003026/0.1454, allocations: 0 / 0.9456 GB, free: 0.5586 MB / 0.9011 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.01437/0.1598, allocations: 4.241 MB / 0.9498 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1599, allocations: 8.031 kB / 0.9498 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008276/0.1681, allocations: 1.321 MB / 0.9511 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008056/0.1762, allocations: 2.709 MB / 0.9537 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/0.1767, allocations: 275.7 kB / 0.954 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001958/0.1786, allocations: 384.8 kB / 0.9544 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.1967, allocations: 6.452 MB / 0.9607 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.1969, allocations: 23.77 kB / 0.9607 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001349/0.1982, allocations: 160 kB / 0.9608 GB, free: 0.5117 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000792/0.199, allocations: 282.9 kB / 0.9611 GB, free: 240 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.2106, allocations: 4.52 MB / 0.9655 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03588/0.2465, allocations: 17.57 MB / 0.9827 GB, free: 9.629 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.2488, allocations: 1.049 MB / 0.9837 GB, free: 8.574 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.2507, allocations: 0.9678 MB / 0.9846 GB, free: 7.609 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.2508, allocations: 21 kB / 0.9847 GB, free: 7.586 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.2509, allocations: 47.56 kB / 0.9847 GB, free: 7.531 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.2509, allocations: 0 / 0.9847 GB, free: 7.531 MB / 0.948 GB Notification: Performance of matching and sorting (n=131): time 0.02802/0.2789, allocations: 9.287 MB / 0.9938 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.279, allocations: 64.72 kB / 0.9938 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.2817, allocations: 1.421 MB / 0.9952 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.2819, allocations: 45.7 kB / 0.9953 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.2836, allocations: 1.738 MB / 0.997 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006695/0.2843, allocations: 483.8 kB / 0.9974 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/0.285, allocations: 335.4 kB / 0.9977 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2851, allocations: 301.1 kB / 0.998 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.2868, allocations: 0.9018 MB / 0.9989 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/0.2895, allocations: 1.536 MB / 1 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/0.2939, allocations: 2.633 MB / 1.003 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.739e-05/0.294, allocations: 4 kB / 1.003 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007868/0.3018, allocations: 3.38 MB / 1.006 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3019, allocations: 16 kB / 1.006 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.67e-05/0.3019, allocations: 20 kB / 1.006 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003362/0.3053, allocations: 0.8551 MB / 1.007 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.307, allocations: 391.4 kB / 1.008 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/0.3287, allocations: 15.86 MB / 1.023 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.3307, allocations: 103.9 kB / 1.023 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004407/0.3311, allocations: 84.11 kB / 1.023 GB, free: 14.45 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (199): * Single equations (assignments): 190 * 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.003084/0.3342, allocations: 1.321 MB / 1.024 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008316/0.3351, allocations: 238.8 kB / 1.025 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006718/0.3418, allocations: 2.761 MB / 1.027 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.3418, allocations: 16 kB / 1.027 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/0.3418, allocations: 4 kB / 1.027 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.3418, allocations: 7.922 kB / 1.027 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.3544, allocations: 5.333 MB / 1.033 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.3544, allocations: 4 kB / 1.033 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.3556, allocations: 223.7 kB / 1.033 GB, free: 4.348 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/0.3587, allocations: 0.7771 MB / 1.034 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/0.3589, allocations: 31.98 kB / 1.034 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/0.3803, allocations: 15.58 MB / 1.049 GB, free: 3.008 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.3803, allocations: 11.94 kB / 1.049 GB, free: 2.996 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3645/0.7448, allocations: 4.013 MB / 1.053 GB, free: 198.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/0.7457, allocations: 369.1 kB / 1.053 GB, free: 198.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.7459, allocations: 36.23 kB / 1.053 GB, free: 198.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/0.7468, allocations: 85.94 kB / 1.053 GB, free: 198.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.7471, allocations: 123.7 kB / 1.053 GB, free: 198.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.7472, allocations: 37.34 kB / 1.053 GB, free: 198.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000979/0.7482, allocations: 0.9119 MB / 1.054 GB, free: 198.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7482, allocations: 2.594 kB / 1.054 GB, free: 198.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001904/0.7501, allocations: 0.6892 MB / 1.055 GB, free: 198.1 MB / 1.01 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.0002084/0.7503, allocations: 152 kB / 1.055 GB, free: 198 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004095/0.7544, allocations: 3.393 MB / 1.058 GB, free: 196.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7544, allocations: 1.312 kB / 1.058 GB, free: 196.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002668/0.757, allocations: 2.242 MB / 1.061 GB, free: 195.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.7596, allocations: 0.6436 MB / 1.061 GB, free: 195.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00851/0.7681, allocations: 6.608 MB / 1.068 GB, free: 192.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/0.7702, allocations: 2.106 MB / 1.07 GB, free: 191.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001347/0.7715, allocations: 468.1 kB / 1.07 GB, free: 191.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.7718, allocations: 115.1 kB / 1.07 GB, free: 191.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.994e-06/0.7718, allocations: 0 / 1.07 GB, free: 191.7 MB / 1.01 GB Notification: Performance of Templates: time 0.05311/0.8249, allocations: 33.46 MB / 1.103 GB, free: 188 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.909211979014799]