Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.002151/0.002151, 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.002526/0.002526, allocations: 167.7 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.682/2.682, allocations: 359 MB / 0.6037 GB, free: 14.96 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.349e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04088/0.04091, allocations: 28.73 MB / 0.979 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0269/0.06782, allocations: 13.05 MB / 0.9918 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00407/0.07189, allocations: 198.4 kB / 0.992 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.08288, allocations: 3.222 MB / 0.9951 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.09344, allocations: 2.83 MB / 0.9979 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007437/0.1009, allocations: 2.044 MB / 0.9999 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01367/0.1145, allocations: 7.783 MB / 1.007 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.125, allocations: 4.62 MB / 1.012 GB, free: 12.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.1364, allocations: 4.904 MB / 1.017 GB, free: 7.832 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006989/0.1434, allocations: 3.051 MB / 1.02 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002064/0.1455, allocations: 0.5938 MB / 1.02 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004771/0.1502, allocations: 1.419 MB / 1.022 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004656/0.1549, allocations: 2.517 MB / 1.024 GB, free: 240 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005601/0.1605, allocations: 1.996 MB / 1.026 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.1758, allocations: 9.61 MB / 1.036 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.1758, allocations: 7.938 kB / 1.036 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.295e-06/0.1758, allocations: 0 / 1.036 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003466/0.1762, allocations: 0 / 1.036 GB, free: 4.59 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01751/0.1937, allocations: 5.121 MB / 1.041 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/0.1938, allocations: 8.031 kB / 1.041 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00742/0.2012, allocations: 1.028 MB / 1.042 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009036/0.2102, allocations: 3.013 MB / 1.044 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.2106, allocations: 316.8 kB / 1.045 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/0.2125, allocations: 424.3 kB / 1.045 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.2289, allocations: 7.371 MB / 1.052 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.229, allocations: 31.75 kB / 1.052 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00057/0.2296, allocations: 180 kB / 1.053 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00104/0.2306, allocations: 372 kB / 1.053 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.2426, allocations: 5.106 MB / 1.058 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03848/0.2811, allocations: 19.01 MB / 1.076 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.2835, allocations: 1.32 MB / 1.078 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.2854, allocations: 1.231 MB / 1.079 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.499e-05/0.2855, allocations: 13.31 kB / 1.079 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.2855, allocations: 51.88 kB / 1.079 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=130): time 3.226e-06/0.2855, allocations: 0 / 1.079 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=199): time 0.5969/0.8824, allocations: 22.83 MB / 1.101 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.8825, allocations: 72.97 kB / 1.101 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.8854, allocations: 1.846 MB / 1.103 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003435/0.8857, allocations: 62.89 kB / 1.103 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.8869, allocations: 2.064 MB / 1.105 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/0.8875, allocations: 0.7005 MB / 1.106 GB, free: 142 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000774/0.8883, allocations: 413.8 kB / 1.106 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.8883, allocations: 302.7 kB / 1.107 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.8907, allocations: 1.434 MB / 1.108 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.8931, allocations: 2.011 MB / 1.11 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/0.8978, allocations: 3.695 MB / 1.114 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.8978, allocations: 5.672 kB / 1.114 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01131/0.9092, allocations: 5.574 MB / 1.119 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.9092, allocations: 18.16 kB / 1.119 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.9092, allocations: 18.66 kB / 1.119 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007298/0.9165, allocations: 2.077 MB / 1.121 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.9182, allocations: 376.6 kB / 1.122 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0332/0.9513, allocations: 35.85 MB / 1.157 GB, free: 106.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.954, allocations: 130.7 kB / 1.157 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.9543, allocations: 88.05 kB / 1.157 GB, free: 106.4 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.002422/0.9567, allocations: 1.513 MB / 1.158 GB, free: 105.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005235/0.9572, allocations: 269.4 kB / 1.158 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.9673, allocations: 5.14 MB / 1.163 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.9673, allocations: 18.88 kB / 1.164 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.161e-05/0.9673, allocations: 18.06 kB / 1.164 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.9673, allocations: 18.67 kB / 1.164 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.9824, allocations: 8.429 MB / 1.172 GB, free: 99.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.9824, allocations: 6.438 kB / 1.172 GB, free: 99.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008642/0.9833, allocations: 220.4 kB / 1.172 GB, free: 99.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0056/0.9889, allocations: 1.842 MB / 1.174 GB, free: 99.28 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.989, allocations: 39.69 kB / 1.174 GB, free: 99.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02767/1.017, allocations: 34.86 MB / 1.208 GB, free: 69.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.017, allocations: 7.5 kB / 1.208 GB, free: 69.37 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008652/1.025, allocations: 4.815 MB / 1.213 GB, free: 64.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.027, allocations: 0.5308 MB / 1.213 GB, free: 63.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005373/1.027, allocations: 47.98 kB / 1.213 GB, free: 63.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.029, allocations: 127.8 kB / 1.213 GB, free: 63.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006056/1.029, allocations: 205.5 kB / 1.213 GB, free: 63.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.03, allocations: 52 kB / 1.214 GB, free: 63.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001388/1.031, allocations: 1.208 MB / 1.215 GB, free: 62.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.031, allocations: 0 / 1.215 GB, free: 62.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003525/1.035, allocations: 1.039 MB / 1.216 GB, free: 61.28 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000324/1.035, allocations: 175.3 kB / 1.216 GB, free: 61.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008575/1.043, allocations: 5.995 MB / 1.222 GB, free: 54.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.043, allocations: 4 kB / 1.222 GB, free: 54.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005562/1.049, allocations: 4.269 MB / 1.226 GB, free: 50.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/1.053, allocations: 0.9075 MB / 1.227 GB, free: 49.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.066, allocations: 8.229 MB / 1.235 GB, free: 41.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/1.07, allocations: 2.583 MB / 1.237 GB, free: 38.63 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001649/1.071, allocations: 498.3 kB / 1.238 GB, free: 38.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/1.072, allocations: 140.5 kB / 1.238 GB, free: 38 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/1.072, allocations: 0 / 1.238 GB, free: 38 MB / 0.9981 GB Notification: Performance of Templates: time 0.08785/1.159, allocations: 60.26 MB / 1.297 GB, free: 10.96 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.631489906460047]