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.002013/0.002013, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002268/0.002268, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.447/1.447, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.687/2.687, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] 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.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_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.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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.613e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03362/0.03365, allocations: 25.08 MB / 0.9755 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.04922, allocations: 7.985 MB / 0.9833 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.05162, allocations: 154.8 kB / 0.9834 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.007863/0.05948, allocations: 2.776 MB / 0.9861 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.06428, allocations: 1.709 MB / 0.9878 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.06924, allocations: 1.704 MB / 0.9895 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008948/0.07819, allocations: 6.258 MB / 0.9956 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00644/0.08463, allocations: 3.762 MB / 0.9993 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007518/0.09214, allocations: 3.723 MB / 1.003 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005789/0.09793, allocations: 2.63 MB / 1.005 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.09934, allocations: 0.5078 MB / 1.006 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.1025, allocations: 1.228 MB / 1.007 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002851/0.1054, allocations: 2.194 MB / 1.009 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.1084, allocations: 1.661 MB / 1.011 GB, free: 13.94 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.1191, allocations: 8.201 MB / 1.019 GB, free: 5.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.1191, allocations: 4 kB / 1.019 GB, free: 5.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1191, allocations: 0 / 1.019 GB, free: 5.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002265/0.1194, allocations: 0 / 1.019 GB, free: 5.715 MB / 0.92 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.01117/0.1305, allocations: 4.217 MB / 1.023 GB, free: 1.445 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1306, allocations: 12.03 kB / 1.023 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.1353, allocations: 0.8296 MB / 1.024 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005536/0.1409, allocations: 2.537 MB / 1.026 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.1411, allocations: 279.7 kB / 1.027 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008668/0.142, allocations: 372.8 kB / 1.027 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.1531, allocations: 6.445 MB / 1.033 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.1533, allocations: 23.77 kB / 1.033 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.1537, allocations: 152 kB / 1.033 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006687/0.1543, allocations: 282.9 kB / 1.034 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008537/0.1629, allocations: 4.52 MB / 1.038 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02525/0.1881, allocations: 17.37 MB / 1.055 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.19, allocations: 1.056 MB / 1.056 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.1914, allocations: 0.964 MB / 1.057 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.172e-05/0.1915, allocations: 13 kB / 1.057 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.1916, allocations: 51.55 kB / 1.057 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 3.597e-06/0.1916, allocations: 0 / 1.057 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=131): time 0.02381/0.2154, allocations: 9.079 MB / 1.066 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2154, allocations: 68.72 kB / 1.066 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.2175, allocations: 1.401 MB / 1.067 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.2177, allocations: 45.7 kB / 1.067 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.2192, allocations: 1.73 MB / 1.069 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/0.2197, allocations: 491.7 kB / 1.07 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005569/0.2202, allocations: 327.4 kB / 1.07 GB, free: 380 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2204, allocations: 305.1 kB / 1.07 GB, free: 72 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.2219, allocations: 0.9096 MB / 1.071 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.2239, allocations: 1.463 MB / 1.073 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.2275, allocations: 2.546 MB / 1.075 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.2275, allocations: 8 kB / 1.075 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006768/0.2343, allocations: 3.267 MB / 1.078 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.2343, allocations: 12 kB / 1.078 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/0.2344, allocations: 20.12 kB / 1.078 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/0.237, allocations: 0.7295 MB / 1.079 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.2388, allocations: 391.2 kB / 1.079 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.2577, allocations: 15.8 MB / 1.095 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.2595, allocations: 103.8 kB / 1.095 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.2597, allocations: 72 kB / 1.095 GB, free: 5.277 MB / 0.9981 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.002382/0.2621, allocations: 1.311 MB / 1.096 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.2625, allocations: 194.8 kB / 1.096 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00574/0.2682, allocations: 2.765 MB / 1.099 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.2683, allocations: 16 kB / 1.099 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.2683, allocations: 4 kB / 1.099 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.2683, allocations: 12.11 kB / 1.099 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4828/0.7511, allocations: 5.325 MB / 1.104 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.7511, allocations: 6.875 kB / 1.104 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.7525, allocations: 233.9 kB / 1.105 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.7547, allocations: 0.6637 MB / 1.105 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.7548, allocations: 34.5 kB / 1.105 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.7677, allocations: 15.56 MB / 1.12 GB, free: 130.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.7677, allocations: 10.09 kB / 1.12 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006517/0.7742, allocations: 3.965 MB / 1.124 GB, free: 128.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009913/0.7752, allocations: 373.5 kB / 1.125 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.7754, allocations: 37.88 kB / 1.125 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009687/0.7764, allocations: 88.69 kB / 1.125 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/0.7768, allocations: 130.4 kB / 1.125 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7769, allocations: 37.7 kB / 1.125 GB, free: 128.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001367/0.7783, allocations: 0.9074 MB / 1.126 GB, free: 128 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7783, allocations: 1.625 kB / 1.126 GB, free: 128 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002454/0.7808, allocations: 0.6815 MB / 1.127 GB, free: 127.9 MB / 0.9981 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.0002453/0.781, allocations: 151.3 kB / 1.127 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004961/0.786, allocations: 3.371 MB / 1.13 GB, free: 126 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.786, allocations: 4.062 kB / 1.13 GB, free: 126 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/0.789, allocations: 2.242 MB / 1.132 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.7917, allocations: 0.6396 MB / 1.133 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009638/0.8014, allocations: 6.493 MB / 1.139 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/0.8041, allocations: 2.103 MB / 1.141 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00149/0.8056, allocations: 478.7 kB / 1.142 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.8059, allocations: 111.7 kB / 1.142 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/0.8059, allocations: 0 / 1.142 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05095/0.8569, allocations: 33.48 MB / 1.174 GB, free: 105.5 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.366017889231443]