Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009657/0.0009657, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008438/0.0008438, allocations: 173.9 kB / 23.21 MB, free: 1.348 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 0.879/0.879, allocations: 177.1 MB / 203.5 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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 1.739/1.739, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.141e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009798/0.009819, allocations: 13.74 MB / 1.014 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.008389/0.01821, allocations: 9.815 MB / 1.024 GB, free: 5.375 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.01873, allocations: 87.25 kB / 1.024 GB, free: 5.289 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.02053, allocations: 1.705 MB / 1.026 GB, free: 3.582 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.0228, allocations: 1.895 MB / 1.027 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.02365, allocations: 0.7636 MB / 1.028 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.02538, allocations: 2.83 MB / 1.031 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009271/0.02631, allocations: 1.196 MB / 1.032 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.02773, allocations: 2.109 MB / 1.034 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007156/0.02844, allocations: 0.9309 MB / 1.035 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.02857, allocations: 156 kB / 1.035 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006439/0.02921, allocations: 0.7288 MB / 1.036 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.02954, allocations: 0.6347 MB / 1.037 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.02994, allocations: 0.6429 MB / 1.037 GB, free: 7.633 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.03166, allocations: 2.777 MB / 1.04 GB, free: 4.848 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.03167, allocations: 3.938 kB / 1.04 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.03167, allocations: 0 / 1.04 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.03168, allocations: 3.938 kB / 1.04 GB, free: 4.84 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002031/0.03372, allocations: 2.12 MB / 1.042 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.03375, allocations: 8.75 kB / 1.042 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.03896, allocations: 2.125 MB / 1.044 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5117/0.5507, allocations: 1.182 MB / 1.045 GB, free: 82.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.5507, allocations: 88.78 kB / 1.045 GB, free: 82.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.5509, allocations: 113.8 kB / 1.045 GB, free: 82.27 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.5539, allocations: 2.891 MB / 1.048 GB, free: 80.97 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.5539, allocations: 9.75 kB / 1.048 GB, free: 80.96 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.554, allocations: 48.7 kB / 1.048 GB, free: 80.93 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003082/0.5543, allocations: 196.7 kB / 1.049 GB, free: 80.91 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003521/0.5579, allocations: 2.785 MB / 1.051 GB, free: 80.2 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006411/0.5643, allocations: 8.109 MB / 1.059 GB, free: 75.55 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.5673, allocations: 2.186 MB / 1.061 GB, free: 75.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.5687, allocations: 1.196 MB / 1.062 GB, free: 74.74 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.5688, allocations: 11.84 kB / 1.062 GB, free: 74.74 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.5688, allocations: 51.44 kB / 1.063 GB, free: 74.69 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 2.295e-06/0.5688, allocations: 0 / 1.063 GB, free: 74.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=153): time 0.02882/0.5976, allocations: 15.98 MB / 1.078 GB, free: 71.45 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5976, allocations: 68.62 kB / 1.078 GB, free: 71.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.5987, allocations: 1.038 MB / 1.079 GB, free: 70.97 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-05/0.5988, allocations: 52.14 kB / 1.079 GB, free: 70.92 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.5992, allocations: 0.7586 MB / 1.08 GB, free: 70.38 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.5995, allocations: 0.5325 MB / 1.081 GB, free: 69.95 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.5999, allocations: 287.9 kB / 1.081 GB, free: 69.82 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.072e-05/0.5999, allocations: 301.7 kB / 1.081 GB, free: 69.53 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.6022, allocations: 1.509 MB / 1.083 GB, free: 69.07 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/0.6048, allocations: 1.776 MB / 1.084 GB, free: 68.34 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005225/0.61, allocations: 3.37 MB / 1.088 GB, free: 66.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.61, allocations: 5.281 kB / 1.088 GB, free: 66.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.00865/0.6187, allocations: 5.201 MB / 1.093 GB, free: 65.23 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.6187, allocations: 6.969 kB / 1.093 GB, free: 65.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6187, allocations: 7.062 kB / 1.093 GB, free: 65.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/0.6227, allocations: 1.881 MB / 1.095 GB, free: 64.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6239, allocations: 418.9 kB / 1.095 GB, free: 64.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01889/0.6427, allocations: 22.84 MB / 1.117 GB, free: 49.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.6443, allocations: 309.2 kB / 1.118 GB, free: 49.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.6444, allocations: 67.34 kB / 1.118 GB, free: 49.19 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007662/0.6452, allocations: 469.7 kB / 1.118 GB, free: 48.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.6454, allocations: 172.3 kB / 1.118 GB, free: 48.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008147/0.6535, allocations: 5.238 MB / 1.123 GB, free: 47.05 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.6535, allocations: 15.62 kB / 1.123 GB, free: 47.05 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.38e-05/0.6536, allocations: 22.62 kB / 1.123 GB, free: 47.05 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.6536, allocations: 11.3 kB / 1.123 GB, free: 47.04 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009563/0.6631, allocations: 6.796 MB / 1.13 GB, free: 44.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.6631, allocations: 6.703 kB / 1.13 GB, free: 44.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.6639, allocations: 358.6 kB / 1.13 GB, free: 44.58 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.6669, allocations: 1.696 MB / 1.132 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/0.667, allocations: 45.42 kB / 1.132 GB, free: 43.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/0.6829, allocations: 22.02 MB / 1.154 GB, free: 26.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6829, allocations: 6.906 kB / 1.154 GB, free: 26.57 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006813/0.6898, allocations: 4.803 MB / 1.158 GB, free: 23.72 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/0.6903, allocations: 410.7 kB / 1.159 GB, free: 23.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6904, allocations: 28 kB / 1.159 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/0.6914, allocations: 323.4 kB / 1.159 GB, free: 22.98 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/0.6918, allocations: 152.9 kB / 1.159 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.6919, allocations: 55.97 kB / 1.159 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000594/0.6925, allocations: 0.6884 MB / 1.16 GB, free: 22.08 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6925, allocations: 0 / 1.16 GB, free: 22.08 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001695/0.6942, allocations: 0.6562 MB / 1.16 GB, free: 21.42 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000246/0.6944, allocations: 131.1 kB / 1.161 GB, free: 21.29 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0052/0.6996, allocations: 4.929 MB / 1.165 GB, free: 16.26 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6996, allocations: 3.938 kB / 1.165 GB, free: 16.25 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002905/0.7025, allocations: 3.261 MB / 1.169 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.7037, allocations: 0.5126 MB / 1.169 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.7082, allocations: 4.437 MB / 1.173 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.7088, allocations: 0.9799 MB / 1.174 GB, free: 6.887 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.7091, allocations: 120.4 kB / 1.175 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of SimCode: time 8.92e-07/0.7091, allocations: 4 kB / 1.175 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of Templates: time 0.0538/0.7629, allocations: 85.71 MB / 1.258 GB, free: 1.102 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 12.389400575309992]