Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001568/0.001568, allocations: 110.5 kB / 17.08 MB, free: 5.988 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.001618/0.001618, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.501/1.501, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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,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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 72.08 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2969, allocations: 151.6 MB / 1.176 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03584/0.3328, allocations: 30.77 MB / 1.206 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.3546, allocations: 13.59 MB / 1.219 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.3579, allocations: 143.2 kB / 1.219 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008459/0.3664, allocations: 3.194 MB / 1.222 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008094/0.3745, allocations: 2.657 MB / 1.225 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.3803, allocations: 2.023 MB / 1.227 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01297/0.3932, allocations: 7.625 MB / 1.234 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.4052, allocations: 8.229 MB / 1.242 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006047/0.4113, allocations: 3.42 MB / 1.246 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/0.4173, allocations: 3.387 MB / 1.249 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001991/0.4194, allocations: 0.5938 MB / 1.25 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.4237, allocations: 1.49 MB / 1.251 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003596/0.4273, allocations: 2.366 MB / 1.253 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008455/0.4358, allocations: 2.882 MB / 1.256 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6762/1.112, allocations: 9.479 MB / 1.266 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.112, allocations: 0.75 kB / 1.266 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/1.112, allocations: 0 / 1.266 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003175/1.112, allocations: 0 / 1.266 GB, free: 30.92 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01882/1.131, allocations: 5.269 MB / 1.271 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.131, allocations: 15.17 kB / 1.271 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008254/1.14, allocations: 1.021 MB / 1.272 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/1.15, allocations: 3.101 MB / 1.275 GB, free: 27.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005845/1.151, allocations: 314.1 kB / 1.275 GB, free: 27.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003163/1.154, allocations: 419.1 kB / 1.275 GB, free: 27.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/1.176, allocations: 6.788 MB / 1.282 GB, free: 26.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/1.176, allocations: 26.03 kB / 1.282 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002312/1.179, allocations: 181.9 kB / 1.282 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001026/1.18, allocations: 370.6 kB / 1.283 GB, free: 26.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/1.194, allocations: 5.113 MB / 1.288 GB, free: 26.85 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03991/1.234, allocations: 30.57 MB / 1.317 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/1.236, allocations: 1.393 MB / 1.319 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/1.238, allocations: 1.324 MB / 1.32 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/1.238, allocations: 13.16 kB / 1.32 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/1.238, allocations: 54.59 kB / 1.32 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 3.075e-06/1.238, allocations: 4 kB / 1.32 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199): time 0.08816/1.326, allocations: 23.14 MB / 1.343 GB, free: 10.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/1.326, allocations: 82.84 kB / 1.343 GB, free: 10.87 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/1.33, allocations: 2.066 MB / 1.345 GB, free: 9.758 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004725/1.331, allocations: 57.08 kB / 1.345 GB, free: 9.703 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.332, allocations: 2.059 MB / 1.347 GB, free: 7.895 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009821/1.333, allocations: 0.7112 MB / 1.348 GB, free: 7.281 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/1.335, allocations: 413.2 kB / 1.348 GB, free: 7.051 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.335, allocations: 305.1 kB / 1.348 GB, free: 6.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/1.337, allocations: 1.432 MB / 1.35 GB, free: 5.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/1.34, allocations: 2.009 MB / 1.352 GB, free: 4.488 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005493/1.346, allocations: 3.705 MB / 1.355 GB, free: 2.109 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/1.346, allocations: 6.156 kB / 1.355 GB, free: 2.109 MB / 1.014 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01196/1.358, allocations: 5.672 MB / 1.361 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/1.358, allocations: 11.19 kB / 1.361 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.358, allocations: 19.38 kB / 1.361 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006594/1.364, allocations: 2.086 MB / 1.363 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.366, allocations: 371.9 kB / 1.363 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04759/1.414, allocations: 38.45 MB / 1.401 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/1.417, allocations: 127.9 kB / 1.401 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005906/1.417, allocations: 92 kB / 1.401 GB, free: 5.387 MB / 1.061 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.003852/1.421, allocations: 1.504 MB / 1.403 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.422, allocations: 298.2 kB / 1.403 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.434, allocations: 5.207 MB / 1.408 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/1.434, allocations: 27.94 kB / 1.408 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-05/1.434, allocations: 16 kB / 1.408 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.965e-05/1.435, allocations: 7.969 kB / 1.408 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.456, allocations: 9.684 MB / 1.417 GB, free: 4.598 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.456, allocations: 8 kB / 1.417 GB, free: 4.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/1.457, allocations: 212.2 kB / 1.418 GB, free: 4.395 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006408/1.464, allocations: 1.853 MB / 1.419 GB, free: 2.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/1.464, allocations: 36 kB / 1.419 GB, free: 2.465 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04812/1.512, allocations: 37.47 MB / 1.456 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/1.512, allocations: 15.34 kB / 1.456 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/1.528, allocations: 4.923 MB / 1.461 GB, free: 5.641 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003767/1.532, allocations: 0.628 MB / 1.461 GB, free: 4.992 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00177/1.534, allocations: 47.94 kB / 1.462 GB, free: 4.945 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003602/1.538, allocations: 135.8 kB / 1.462 GB, free: 4.812 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/1.539, allocations: 188.6 kB / 1.462 GB, free: 4.633 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004167/1.539, allocations: 52 kB / 1.462 GB, free: 4.582 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00389/1.543, allocations: 1.382 MB / 1.463 GB, free: 3.191 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.01e-07/1.543, allocations: 0 / 1.463 GB, free: 3.191 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.006552/1.55, allocations: 1.043 MB / 1.464 GB, free: 2.148 MB / 1.123 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.0006998/1.55, allocations: 173.1 kB / 1.464 GB, free: 1.984 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01634/1.567, allocations: 6.304 MB / 1.471 GB, free: 11.57 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/1.567, allocations: 4 kB / 1.471 GB, free: 11.56 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.01081/1.578, allocations: 4.412 MB / 1.475 GB, free: 6.969 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007936/1.586, allocations: 0.983 MB / 1.476 GB, free: 6.027 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/1.612, allocations: 8.738 MB / 1.484 GB, free: 13.27 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007762/1.619, allocations: 3.185 MB / 1.487 GB, free: 10.05 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.621, allocations: 163.4 kB / 1.488 GB, free: 9.891 MB / 1.154 GB Notification: Performance of SimCode: time 1.082e-06/1.621, allocations: 3.609 kB / 1.488 GB, free: 9.891 MB / 1.154 GB Notification: Performance of Templates: time 1.058/2.679, allocations: 465 MB / 1.942 GB, free: 440.2 MB / 1.467 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 28.253331605927087]