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.001747/0.001747, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002139/0.002139, allocations: 217.8 kB / 23.04 MB, free: 4.863 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.224/3.224, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002018/0.002018, allocations: 65.89 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3864, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03852/0.4249, allocations: 29.29 MB / 1.356 GB, free: 3.621 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02424/0.4491, allocations: 13.21 MB / 1.369 GB, free: 6.375 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003752/0.4529, allocations: 198.4 kB / 1.369 GB, free: 6.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009088/0.462, allocations: 3.208 MB / 1.372 GB, free: 2.965 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.4705, allocations: 2.739 MB / 1.375 GB, free: 216 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00601/0.4765, allocations: 2.029 MB / 1.377 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.4883, allocations: 7.622 MB / 1.384 GB, free: 6.531 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008031/0.4964, allocations: 4.592 MB / 1.389 GB, free: 1.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007244/0.5036, allocations: 3.666 MB / 1.392 GB, free: 14.14 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006737/0.5103, allocations: 3.289 MB / 1.395 GB, free: 10.84 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.5118, allocations: 0.5898 MB / 1.396 GB, free: 10.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.5155, allocations: 1.396 MB / 1.397 GB, free: 8.855 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003125/0.5186, allocations: 2.412 MB / 1.4 GB, free: 6.438 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004444/0.523, allocations: 2.33 MB / 1.402 GB, free: 4.098 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.537, allocations: 9.516 MB / 1.411 GB, free: 10.55 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.537, allocations: 4 kB / 1.411 GB, free: 10.55 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.974e-06/0.537, allocations: 0 / 1.411 GB, free: 10.55 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000299/0.5373, allocations: 0 / 1.411 GB, free: 10.55 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.01282/0.5501, allocations: 5.172 MB / 1.416 GB, free: 5.309 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5502, allocations: 8.031 kB / 1.416 GB, free: 5.301 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005894/0.5561, allocations: 1.036 MB / 1.417 GB, free: 4.262 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006964/0.5631, allocations: 3.013 MB / 1.42 GB, free: 1.156 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.5633, allocations: 320.8 kB / 1.421 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.5644, allocations: 424 kB / 1.421 GB, free: 436 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.5787, allocations: 7.366 MB / 1.428 GB, free: 8.629 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.5788, allocations: 15.89 kB / 1.428 GB, free: 8.613 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005458/0.5794, allocations: 180 kB / 1.428 GB, free: 8.438 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009377/0.5803, allocations: 368 kB / 1.429 GB, free: 8.074 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.5907, allocations: 5.11 MB / 1.434 GB, free: 2.945 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03279/0.6235, allocations: 19.05 MB / 1.452 GB, free: 15.38 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.6258, allocations: 1.309 MB / 1.454 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.6277, allocations: 1.238 MB / 1.455 GB, free: 12.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.6278, allocations: 21.31 kB / 1.455 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.6278, allocations: 51.8 kB / 1.455 GB, free: 12.74 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 3.657e-06/0.6278, allocations: 0 / 1.455 GB, free: 12.74 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.08793/0.7158, allocations: 22.83 MB / 1.477 GB, free: 5.852 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.7158, allocations: 77.41 kB / 1.477 GB, free: 5.762 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/0.7187, allocations: 1.845 MB / 1.479 GB, free: 3.887 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/0.719, allocations: 69.64 kB / 1.479 GB, free: 3.812 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.7207, allocations: 2.065 MB / 1.481 GB, free: 1.73 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008162/0.7215, allocations: 0.7127 MB / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000793/0.7223, allocations: 408.4 kB / 1.482 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7224, allocations: 305.1 kB / 1.482 GB, free: 312 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.7246, allocations: 1.433 MB / 1.484 GB, free: 14.87 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/0.7274, allocations: 2.01 MB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/0.7328, allocations: 3.7 MB / 1.489 GB, free: 8.672 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.7328, allocations: 4 kB / 1.489 GB, free: 8.668 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01193/0.7448, allocations: 5.573 MB / 1.495 GB, free: 3.027 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.7448, allocations: 16.16 kB / 1.495 GB, free: 3.012 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.7448, allocations: 24 kB / 1.495 GB, free: 2.988 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006898/0.7517, allocations: 2.076 MB / 1.497 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.7534, allocations: 379.3 kB / 1.497 GB, free: 496 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04392/0.7973, allocations: 35.87 MB / 1.532 GB, free: 10.76 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.7997, allocations: 127.9 kB / 1.532 GB, free: 10.63 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.8, allocations: 92 kB / 1.533 GB, free: 10.54 MB / 1.232 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.00291/0.8029, allocations: 1.505 MB / 1.534 GB, free: 9.027 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006771/0.8036, allocations: 278.2 kB / 1.534 GB, free: 8.754 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.8147, allocations: 5.126 MB / 1.539 GB, free: 3.555 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.8147, allocations: 24 kB / 1.539 GB, free: 3.531 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-05/0.8147, allocations: 16 kB / 1.539 GB, free: 3.516 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.8148, allocations: 11.95 kB / 1.539 GB, free: 3.504 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/0.8331, allocations: 8.446 MB / 1.548 GB, free: 10.87 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.8332, allocations: 8 kB / 1.548 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/0.8341, allocations: 211.6 kB / 1.548 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006058/0.8402, allocations: 1.842 MB / 1.55 GB, free: 8.758 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/0.8404, allocations: 40 kB / 1.55 GB, free: 8.719 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04148/0.8819, allocations: 34.89 MB / 1.584 GB, free: 3.98 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.8819, allocations: 11.94 kB / 1.584 GB, free: 3.969 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009875/0.8918, allocations: 4.831 MB / 1.588 GB, free: 14.97 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/0.8934, allocations: 0.5216 MB / 1.589 GB, free: 14.45 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/0.8938, allocations: 47.98 kB / 1.589 GB, free: 14.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.8952, allocations: 127.8 kB / 1.589 GB, free: 14.28 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006969/0.8959, allocations: 201.5 kB / 1.589 GB, free: 14.08 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.896, allocations: 56 kB / 1.589 GB, free: 14.02 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001918/0.8979, allocations: 1.207 MB / 1.591 GB, free: 12.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.8979, allocations: 0 / 1.591 GB, free: 12.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003923/0.9018, allocations: 1.043 MB / 1.592 GB, free: 11.76 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.0003788/0.9022, allocations: 170.9 kB / 1.592 GB, free: 11.58 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01076/0.913, allocations: 6.014 MB / 1.598 GB, free: 5.34 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/0.913, allocations: 4 kB / 1.598 GB, free: 5.336 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007675/0.9207, allocations: 4.289 MB / 1.602 GB, free: 0.8164 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6676/1.588, allocations: 0.9054 MB / 1.603 GB, free: 251.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.605, allocations: 8.805 MB / 1.611 GB, free: 248.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004523/1.609, allocations: 2.633 MB / 1.614 GB, free: 248.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/1.61, allocations: 150.1 kB / 1.614 GB, free: 248.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.402e-06/1.61, allocations: 2.625 kB / 1.614 GB, free: 248.4 MB / 1.295 GB Notification: Performance of Templates: time 0.4042/2.014, allocations: 465.2 MB / 2.068 GB, free: 2.652 MB / 1.482 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: 28.299911343026906]