Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 59.91 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 160.8 MB / 1.218 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03929/1.08, allocations: 27.93 MB / 1.246 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01796/1.098, allocations: 8.363 MB / 1.254 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004478/1.103, allocations: 154.8 kB / 1.254 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.009513/1.112, allocations: 2.89 MB / 1.257 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007534/1.12, allocations: 1.671 MB / 1.259 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0068/1.127, allocations: 1.732 MB / 1.26 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01151/1.138, allocations: 6.123 MB / 1.266 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009586/1.148, allocations: 3.601 MB / 1.27 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006223/1.154, allocations: 2.648 MB / 1.272 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007083/1.161, allocations: 3.002 MB / 1.275 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002271/1.163, allocations: 0.5156 MB / 1.276 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/1.168, allocations: 1.307 MB / 1.277 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004547/1.172, allocations: 2.108 MB / 1.279 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006681/1.179, allocations: 2.377 MB / 1.281 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/1.194, allocations: 8.074 MB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.194, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.194, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003442/1.194, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 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.01456/1.209, allocations: 4.339 MB / 1.294 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.209, allocations: 8.031 kB / 1.294 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/1.215, allocations: 0.8296 MB / 1.294 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007519/1.222, allocations: 2.578 MB / 1.297 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/1.223, allocations: 275.6 kB / 1.297 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/1.224, allocations: 376.6 kB / 1.297 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/1.237, allocations: 5.988 MB / 1.303 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/1.237, allocations: 23.77 kB / 1.303 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004323/1.238, allocations: 156 kB / 1.303 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006136/1.238, allocations: 282.9 kB / 1.304 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00948/1.248, allocations: 4.528 MB / 1.308 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/1.283, allocations: 27.5 MB / 1.335 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.285, allocations: 1.06 MB / 1.336 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.286, allocations: 0.968 MB / 1.337 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.408e-05/1.286, allocations: 9 kB / 1.337 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/1.287, allocations: 51.56 kB / 1.337 GB, free: 10.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 2.695e-06/1.287, allocations: 0 / 1.337 GB, free: 10.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.02234/1.309, allocations: 9.69 MB / 1.347 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/1.309, allocations: 64.72 kB / 1.347 GB, free: 0.625 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/1.311, allocations: 1.502 MB / 1.348 GB, free: 15.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.311, allocations: 49.7 kB / 1.348 GB, free: 15.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/1.313, allocations: 1.711 MB / 1.35 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/1.313, allocations: 499.7 kB / 1.35 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/1.314, allocations: 335.4 kB / 1.351 GB, free: 12.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.314, allocations: 309.1 kB / 1.351 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.315, allocations: 0.9135 MB / 1.352 GB, free: 11.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/1.317, allocations: 1.459 MB / 1.353 GB, free: 9.598 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/1.321, allocations: 2.554 MB / 1.356 GB, free: 6.801 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.321, allocations: 8 kB / 1.356 GB, free: 6.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006224/1.327, allocations: 3.271 MB / 1.359 GB, free: 3.484 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/1.327, allocations: 12 kB / 1.359 GB, free: 3.473 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/1.327, allocations: 20 kB / 1.359 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/1.329, allocations: 0.742 MB / 1.36 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.331, allocations: 387.4 kB / 1.36 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.349, allocations: 17.05 MB / 1.377 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.351, allocations: 95.86 kB / 1.377 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.351, allocations: 76 kB / 1.377 GB, free: 15.82 MB / 1.092 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.00259/1.354, allocations: 1.313 MB / 1.378 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/1.354, allocations: 214.7 kB / 1.378 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005164/1.359, allocations: 2.761 MB / 1.381 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.359, allocations: 12 kB / 1.381 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.359, allocations: 8 kB / 1.381 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.36, allocations: 7.969 kB / 1.381 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.371, allocations: 6.205 MB / 1.387 GB, free: 5.094 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.371, allocations: 4 kB / 1.387 GB, free: 5.09 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.372, allocations: 231.7 kB / 1.387 GB, free: 4.863 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/1.374, allocations: 0.6714 MB / 1.388 GB, free: 4.164 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.374, allocations: 35.98 kB / 1.388 GB, free: 4.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/1.393, allocations: 16.8 MB / 1.404 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/1.393, allocations: 4 kB / 1.404 GB, free: 2.062 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/1.4, allocations: 4.001 MB / 1.408 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.401, allocations: 459.7 kB / 1.409 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/1.402, allocations: 39.89 kB / 1.409 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009363/1.402, allocations: 79.89 kB / 1.409 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/1.403, allocations: 120.7 kB / 1.409 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/1.403, allocations: 36 kB / 1.409 GB, free: 13.21 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001553/1.404, allocations: 0.9942 MB / 1.41 GB, free: 12.23 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.404, allocations: 4 kB / 1.41 GB, free: 12.23 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002774/1.407, allocations: 0.6836 MB / 1.411 GB, free: 11.54 MB / 1.123 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.0003095/1.408, allocations: 163 kB / 1.411 GB, free: 11.38 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005866/1.413, allocations: 3.381 MB / 1.414 GB, free: 7.879 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.413, allocations: 0 / 1.414 GB, free: 7.879 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003509/1.417, allocations: 2.241 MB / 1.416 GB, free: 5.52 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/1.42, allocations: 0.6746 MB / 1.417 GB, free: 4.863 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.434, allocations: 6.644 MB / 1.423 GB, free: 14.12 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/1.437, allocations: 2.664 MB / 1.426 GB, free: 11.43 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001737/1.439, allocations: 489.4 kB / 1.427 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/1.439, allocations: 115.4 kB / 1.427 GB, free: 10.84 MB / 1.139 GB Notification: Performance of SimCode: time 1.693e-06/1.439, allocations: 4 kB / 1.427 GB, free: 10.83 MB / 1.139 GB Notification: Performance of Templates: time 0.07611/1.515, allocations: 35.67 MB / 1.461 GB, free: 7.656 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.567630884237587]