Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001897/0.001897, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002319/0.002319, allocations: 167.1 kB / 22.46 MB, free: 5.359 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.786/2.786, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.388e-05, allocations: 10.22 kB / 0.9815 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03191/0.03194, allocations: 25.06 MB / 1.006 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.0472, allocations: 7.981 MB / 1.014 GB, free: 9.754 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.04975, allocations: 154.8 kB / 1.014 GB, free: 9.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007644/0.05739, allocations: 2.78 MB / 1.017 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.06269, allocations: 1.713 MB / 1.018 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004717/0.06741, allocations: 1.708 MB / 1.02 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008296/0.07571, allocations: 6.262 MB / 1.026 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005512/0.08122, allocations: 3.75 MB / 1.03 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005561/0.08678, allocations: 3.73 MB / 1.033 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004056/0.09084, allocations: 2.634 MB / 1.036 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000791/0.09163, allocations: 0.5117 MB / 1.036 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.09403, allocations: 1.22 MB / 1.038 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.09631, allocations: 2.194 MB / 1.04 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002277/0.09858, allocations: 1.657 MB / 1.041 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00911/0.1077, allocations: 8.201 MB / 1.049 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1077, allocations: 8 kB / 1.049 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1077, allocations: 0 / 1.049 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001235/0.1078, allocations: 0 / 1.049 GB, free: 5.059 MB / 0.9512 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.008903/0.1167, allocations: 4.213 MB / 1.054 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.1168, allocations: 20.02 kB / 1.054 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/0.1214, allocations: 0.8257 MB / 1.054 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/0.1265, allocations: 2.529 MB / 1.057 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.1268, allocations: 275.7 kB / 1.057 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007466/0.1275, allocations: 372.8 kB / 1.057 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.138, allocations: 6.445 MB / 1.064 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.116e-05/0.1381, allocations: 23.77 kB / 1.064 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004027/0.1385, allocations: 156 kB / 1.064 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006344/0.1391, allocations: 282.9 kB / 1.064 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007754/0.1468, allocations: 4.52 MB / 1.069 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02386/0.1707, allocations: 17.37 MB / 1.086 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.1724, allocations: 1.062 MB / 1.087 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.1739, allocations: 0.9525 MB / 1.088 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.487e-05/0.174, allocations: 13 kB / 1.088 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.174, allocations: 47.56 kB / 1.088 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.486e-06/0.174, allocations: 7.938 kB / 1.088 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.02325/0.1973, allocations: 9.073 MB / 1.096 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1973, allocations: 68.72 kB / 1.096 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.1993, allocations: 1.401 MB / 1.098 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.1995, allocations: 49.64 kB / 1.098 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.2009, allocations: 1.726 MB / 1.1 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.2014, allocations: 491.8 kB / 1.1 GB, free: 44 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4952/0.6966, allocations: 324.6 kB / 1.1 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.6966, allocations: 301.9 kB / 1.101 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.698, allocations: 0.9175 MB / 1.102 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.6999, allocations: 1.458 MB / 1.103 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.7035, allocations: 2.552 MB / 1.105 GB, free: 115.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/0.7035, allocations: 8.844 kB / 1.105 GB, free: 115.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006726/0.7102, allocations: 3.262 MB / 1.109 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.7103, allocations: 12.38 kB / 1.109 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/0.7103, allocations: 17.66 kB / 1.109 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/0.713, allocations: 0.7329 MB / 1.109 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.715, allocations: 384.9 kB / 1.11 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.7292, allocations: 15.81 MB / 1.125 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.7309, allocations: 99.38 kB / 1.125 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.7311, allocations: 78 kB / 1.125 GB, free: 101.3 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.002045/0.7331, allocations: 1.311 MB / 1.127 GB, free: 100.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/0.7334, allocations: 196 kB / 1.127 GB, free: 100.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/0.7386, allocations: 2.763 MB / 1.13 GB, free: 99.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.7386, allocations: 17.03 kB / 1.13 GB, free: 99.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.7386, allocations: 6.312 kB / 1.13 GB, free: 99.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.7386, allocations: 7.125 kB / 1.13 GB, free: 99.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009373/0.748, allocations: 5.328 MB / 1.135 GB, free: 97.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.748, allocations: 6.766 kB / 1.135 GB, free: 97.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.7492, allocations: 229.8 kB / 1.135 GB, free: 97.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002073/0.7513, allocations: 0.6645 MB / 1.136 GB, free: 97.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.7514, allocations: 30.33 kB / 1.136 GB, free: 97.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/0.7642, allocations: 15.57 MB / 1.151 GB, free: 84.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.7642, allocations: 15.14 kB / 1.151 GB, free: 84.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/0.7705, allocations: 3.972 MB / 1.155 GB, free: 82.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009897/0.7715, allocations: 370.9 kB / 1.155 GB, free: 82.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004899/0.772, allocations: 39.16 kB / 1.155 GB, free: 82.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.7732, allocations: 82.06 kB / 1.155 GB, free: 82.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/0.7736, allocations: 117.4 kB / 1.155 GB, free: 82.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.7738, allocations: 38.59 kB / 1.155 GB, free: 82.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001691/0.7754, allocations: 0.9081 MB / 1.156 GB, free: 81.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7754, allocations: 1.344 kB / 1.156 GB, free: 81.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00268/0.7781, allocations: 0.6849 MB / 1.157 GB, free: 81.71 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.0002779/0.7784, allocations: 151 kB / 1.157 GB, free: 81.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005443/0.7839, allocations: 3.382 MB / 1.16 GB, free: 79.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.7839, allocations: 5.094 kB / 1.16 GB, free: 79.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003001/0.7869, allocations: 2.239 MB / 1.163 GB, free: 78.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.7899, allocations: 0.6269 MB / 1.163 GB, free: 78.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.8007, allocations: 6.49 MB / 1.17 GB, free: 74.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.8034, allocations: 2.106 MB / 1.172 GB, free: 74.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001333/0.8048, allocations: 481 kB / 1.172 GB, free: 74.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.8051, allocations: 114.5 kB / 1.172 GB, free: 74.25 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/0.8051, allocations: 0 / 1.172 GB, free: 74.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.04784/0.853, allocations: 33.47 MB / 1.205 GB, free: 46.01 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.553256627172232]