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.001781/0.001781, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.001938/0.001938, allocations: 153.4 kB / 23.55 MB, free: 0.8555 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.883/2.883, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] 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.573e-06/1.573e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.277e-05, allocations: 7.234 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03952/0.03956, allocations: 26.84 MB / 0.8126 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.05673, allocations: 8.238 MB / 0.8207 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.05935, allocations: 154.8 kB / 0.8208 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00865/0.068, allocations: 2.861 MB / 0.8236 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005321/0.07332, allocations: 1.715 MB / 0.8253 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005291/0.07861, allocations: 1.699 MB / 0.8269 GB, free: 3.227 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.08867, allocations: 6.266 MB / 0.833 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007227/0.0959, allocations: 3.766 MB / 0.8367 GB, free: 9.086 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006943/0.1028, allocations: 3.758 MB / 0.8404 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005363/0.1082, allocations: 2.81 MB / 0.8431 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.1093, allocations: 0.5117 MB / 0.8436 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.1121, allocations: 1.22 MB / 0.8448 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002858/0.1149, allocations: 2.229 MB / 0.847 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002945/0.1179, allocations: 1.676 MB / 0.8486 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.1298, allocations: 8.251 MB / 0.8567 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1298, allocations: 0 / 0.8567 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.45e-06/0.1298, allocations: 4 kB / 0.8567 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001897/0.13, allocations: 0 / 0.8567 GB, free: 4.578 MB / 0.8073 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.01078/0.1408, allocations: 4.865 MB / 0.8615 GB, free: 15.65 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1408, allocations: 8.031 kB / 0.8615 GB, free: 15.64 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.1459, allocations: 1.278 MB / 0.8627 GB, free: 14.36 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006541/0.1525, allocations: 2.516 MB / 0.8652 GB, free: 11.78 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.1528, allocations: 271.7 kB / 0.8654 GB, free: 11.52 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008974/0.1537, allocations: 384.7 kB / 0.8658 GB, free: 11.14 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009256/0.1629, allocations: 4.421 MB / 0.8701 GB, free: 6.27 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.163, allocations: 19.83 kB / 0.8701 GB, free: 6.25 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.1634, allocations: 163.9 kB / 0.8703 GB, free: 6.09 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006705/0.1641, allocations: 282.9 kB / 0.8706 GB, free: 5.812 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004819/0.1689, allocations: 1.623 MB / 0.8721 GB, free: 4.184 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03529/0.2042, allocations: 23.74 MB / 0.8953 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.2056, allocations: 0.5112 MB / 0.8958 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/0.2066, allocations: 480.8 kB / 0.8963 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.064e-05/0.2066, allocations: 21 kB / 0.8963 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.2067, allocations: 46.39 kB / 0.8964 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.166e-06/0.2067, allocations: 0 / 0.8964 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01727/0.224, allocations: 5.471 MB / 0.9017 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.224, allocations: 68.72 kB / 0.9018 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/0.2269, allocations: 1.793 MB / 0.9035 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.227, allocations: 49.7 kB / 0.9036 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002123/0.2291, allocations: 1.882 MB / 0.9054 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006342/0.2298, allocations: 0.5233 MB / 0.9059 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007058/0.2305, allocations: 401 kB / 0.9063 GB, free: 340 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002634/0.2308, allocations: 480.8 kB / 0.9067 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.2318, allocations: 455.8 kB / 0.9072 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.2336, allocations: 1.284 MB / 0.9084 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.2367, allocations: 1.872 MB / 0.9103 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.2368, allocations: 8 kB / 0.9103 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005755/0.2425, allocations: 2.297 MB / 0.9125 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.2425, allocations: 12 kB / 0.9125 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.2426, allocations: 16 kB / 0.9125 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/0.2455, allocations: 0.6572 MB / 0.9132 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.2472, allocations: 383.4 kB / 0.9135 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/0.2675, allocations: 17.9 MB / 0.931 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.2692, allocations: 107.9 kB / 0.9311 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.2693, allocations: 75.98 kB / 0.9312 GB, free: 4.973 MB / 0.8855 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.001204/0.2705, allocations: 384 kB / 0.9316 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/0.271, allocations: 242.8 kB / 0.9318 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.2759, allocations: 1.747 MB / 0.9335 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.276, allocations: 12 kB / 0.9335 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.276, allocations: 12 kB / 0.9335 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.276, allocations: 7.969 kB / 0.9335 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.288, allocations: 5.422 MB / 0.9388 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.288, allocations: 11.97 kB / 0.9388 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.2893, allocations: 235.6 kB / 0.9391 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/0.2922, allocations: 0.6061 MB / 0.9397 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.2923, allocations: 28 kB / 0.9397 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/0.3124, allocations: 17.8 MB / 0.9571 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.3124, allocations: 4 kB / 0.9571 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/0.318, allocations: 2.447 MB / 0.9595 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.3192, allocations: 350.6 kB / 0.9598 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.3194, allocations: 35.95 kB / 0.9598 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/0.3204, allocations: 83.89 kB / 0.9599 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/0.3207, allocations: 124.5 kB / 0.96 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003318/0.3211, allocations: 40 kB / 0.9601 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001586/0.3226, allocations: 1.002 MB / 0.961 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3226, allocations: 0 / 0.961 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002446/0.3251, allocations: 0.6953 MB / 0.9617 GB, free: 4.164 MB / 0.9167 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.000279/0.3254, allocations: 154.9 kB / 0.9619 GB, free: 4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005468/0.3308, allocations: 3.132 MB / 0.9649 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3308, allocations: 0 / 0.9649 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003924/0.3348, allocations: 2.404 MB / 0.9673 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.3376, allocations: 0.6272 MB / 0.9679 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.3486, allocations: 5.99 MB / 0.9737 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002828/0.3514, allocations: 1.894 MB / 0.9756 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001347/0.3528, allocations: 396.4 kB / 0.976 GB, free: 5.082 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.3531, allocations: 108.5 kB / 0.9761 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of SimCode: time 1.563e-06/0.3531, allocations: 0 / 0.9761 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of Templates: time 0.06562/0.4188, allocations: 33.94 MB / 1.009 GB, free: 3.793 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] 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.232495281030424]