Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00173/0.00173, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002428/0.002428, allocations: 213.6 kB / 23.01 MB, free: 5.125 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.394/3.394, allocations: 0.49 GB / 0.7958 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 66.81 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3937, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03844/0.4322, allocations: 32.15 MB / 1.359 GB, free: 1.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02347/0.4556, allocations: 14.02 MB / 1.372 GB, free: 3.117 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003992/0.4596, allocations: 198.4 kB / 1.372 GB, free: 2.922 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009253/0.4689, allocations: 3.339 MB / 1.376 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009197/0.4781, allocations: 2.774 MB / 1.378 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006704/0.4848, allocations: 2.086 MB / 1.38 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0128/0.4976, allocations: 7.61 MB / 1.388 GB, free: 3.059 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008357/0.5059, allocations: 4.654 MB / 1.392 GB, free: 14.29 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007585/0.5135, allocations: 3.638 MB / 1.396 GB, free: 10.64 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007707/0.5212, allocations: 3.504 MB / 1.399 GB, free: 7.121 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003444/0.5247, allocations: 0.5977 MB / 1.4 GB, free: 6.523 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007433/0.5321, allocations: 1.521 MB / 1.401 GB, free: 5 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005713/0.5378, allocations: 2.412 MB / 1.404 GB, free: 2.582 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.009249/0.5471, allocations: 2.875 MB / 1.407 GB, free: 15.69 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01978/0.5669, allocations: 9.469 MB / 1.416 GB, free: 6.195 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.5669, allocations: 0 / 1.416 GB, free: 6.195 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.116e-06/0.5669, allocations: 0 / 1.416 GB, free: 6.195 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000571/0.5674, allocations: 0 / 1.416 GB, free: 6.195 MB / 1.107 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/0.5863, allocations: 5.172 MB / 1.421 GB, free: 0.957 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5863, allocations: 8.031 kB / 1.421 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007048/0.5934, allocations: 1.028 MB / 1.422 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008802/0.6022, allocations: 3.002 MB / 1.425 GB, free: 12.82 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004396/0.6026, allocations: 320.8 kB / 1.425 GB, free: 12.51 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.6043, allocations: 427.8 kB / 1.426 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.6191, allocations: 6.756 MB / 1.432 GB, free: 5.055 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.6192, allocations: 15.89 kB / 1.432 GB, free: 5.039 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000484/0.6197, allocations: 184 kB / 1.432 GB, free: 4.859 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008699/0.6206, allocations: 368 kB / 1.433 GB, free: 4.496 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.6318, allocations: 5.118 MB / 1.438 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04353/0.6754, allocations: 30.27 MB / 1.467 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.6777, allocations: 1.316 MB / 1.469 GB, free: 12.99 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.6795, allocations: 1.251 MB / 1.47 GB, free: 11.74 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.6796, allocations: 13.31 kB / 1.47 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.6797, allocations: 47.88 kB / 1.47 GB, free: 11.67 MB / 1.17 GB Notification: Performance of pre-optimization done (n=130): time 3.878e-06/0.6797, allocations: 0 / 1.47 GB, free: 11.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=199): time 0.08599/0.7657, allocations: 22.85 MB / 1.492 GB, free: 4.758 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.7657, allocations: 73.41 kB / 1.492 GB, free: 4.672 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/0.769, allocations: 2.059 MB / 1.494 GB, free: 2.598 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003599/0.7693, allocations: 57.7 kB / 1.494 GB, free: 2.535 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001966/0.7713, allocations: 2.066 MB / 1.496 GB, free: 460 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008672/0.7722, allocations: 0.7126 MB / 1.497 GB, free: 15.73 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007449/0.7729, allocations: 412.4 kB / 1.497 GB, free: 15.32 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.773, allocations: 309.1 kB / 1.498 GB, free: 15.02 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.7754, allocations: 1.43 MB / 1.499 GB, free: 13.58 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.7781, allocations: 2.017 MB / 1.501 GB, free: 11.32 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005262/0.7834, allocations: 3.688 MB / 1.505 GB, free: 7.391 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.7834, allocations: 8 kB / 1.505 GB, free: 7.383 MB / 1.201 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0118/0.7952, allocations: 5.604 MB / 1.51 GB, free: 1.711 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.7952, allocations: 12 kB / 1.51 GB, free: 1.699 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.7952, allocations: 20.12 kB / 1.51 GB, free: 1.68 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006947/0.8022, allocations: 2.083 MB / 1.512 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.8038, allocations: 375.3 kB / 1.513 GB, free: 15.17 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04291/0.8467, allocations: 36.62 MB / 1.548 GB, free: 8.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.8492, allocations: 127.9 kB / 1.548 GB, free: 8.355 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.8494, allocations: 92 kB / 1.549 GB, free: 8.266 MB / 1.248 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.002769/0.8522, allocations: 1.51 MB / 1.55 GB, free: 6.746 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006593/0.8528, allocations: 302.2 kB / 1.55 GB, free: 6.449 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.8637, allocations: 5.141 MB / 1.555 GB, free: 1.234 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.8637, allocations: 20.28 kB / 1.555 GB, free: 1.215 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-05/0.8638, allocations: 16 kB / 1.555 GB, free: 1.199 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.8638, allocations: 11.95 kB / 1.555 GB, free: 1.188 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.8832, allocations: 9.586 MB / 1.565 GB, free: 7.398 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.8832, allocations: 4 kB / 1.565 GB, free: 7.395 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/0.8842, allocations: 215.6 kB / 1.565 GB, free: 7.184 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006062/0.8902, allocations: 1.843 MB / 1.567 GB, free: 5.285 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.8905, allocations: 40 kB / 1.567 GB, free: 5.246 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8559/1.746, allocations: 35.62 MB / 1.602 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/1.746, allocations: 10.88 kB / 1.602 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.757, allocations: 4.858 MB / 1.606 GB, free: 247.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/1.758, allocations: 0.5521 MB / 1.607 GB, free: 247.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/1.759, allocations: 44.94 kB / 1.607 GB, free: 247.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.76, allocations: 134.5 kB / 1.607 GB, free: 247.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00066/1.761, allocations: 196.5 kB / 1.607 GB, free: 247.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.761, allocations: 57.88 kB / 1.607 GB, free: 247.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00233/1.764, allocations: 1.38 MB / 1.609 GB, free: 247.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.764, allocations: 0 / 1.609 GB, free: 247.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003966/1.767, allocations: 1.048 MB / 1.61 GB, free: 247.4 MB / 1.295 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.0003624/1.768, allocations: 164 kB / 1.61 GB, free: 247.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.778, allocations: 6.018 MB / 1.616 GB, free: 245.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/1.778, allocations: 2.188 kB / 1.616 GB, free: 245.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006863/1.785, allocations: 4.277 MB / 1.62 GB, free: 242.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/1.79, allocations: 1.003 MB / 1.621 GB, free: 242.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.806, allocations: 8.838 MB / 1.629 GB, free: 238.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004807/1.811, allocations: 3.181 MB / 1.633 GB, free: 237.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008042/1.812, allocations: 160.7 kB / 1.633 GB, free: 237.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.412e-06/1.812, allocations: 3.281 kB / 1.633 GB, free: 237.3 MB / 1.295 GB Notification: Performance of Templates: time 0.3958/2.208, allocations: 465.2 MB / 2.087 GB, free: 14.75 MB / 1.514 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 29.955226354999468]