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.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.001719/0.001719, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002123/0.002123, allocations: 191.9 kB / 22.23 MB, free: 5.102 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.461/1.461, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.186/3.186, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 65.45 kB / 1.138 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03958/0.3976, allocations: 32.15 MB / 1.339 GB, free: 1.586 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0227/0.4203, allocations: 13.97 MB / 1.352 GB, free: 3.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003073/0.4233, allocations: 190.6 kB / 1.353 GB, free: 3.395 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.008866/0.4322, allocations: 3.34 MB / 1.356 GB, free: 48 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007765/0.44, allocations: 2.786 MB / 1.358 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005533/0.4455, allocations: 2.068 MB / 1.361 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.4563, allocations: 7.622 MB / 1.368 GB, free: 3.531 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007675/0.464, allocations: 4.263 MB / 1.372 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006672/0.4707, allocations: 3.51 MB / 1.376 GB, free: 11.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007967/0.4787, allocations: 3.574 MB / 1.379 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002259/0.4809, allocations: 0.5977 MB / 1.38 GB, free: 7.449 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005151/0.4861, allocations: 1.517 MB / 1.381 GB, free: 5.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004619/0.4907, allocations: 2.424 MB / 1.383 GB, free: 3.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00669/0.4974, allocations: 2.886 MB / 1.386 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.5117, allocations: 9.484 MB / 1.396 GB, free: 7.086 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.5117, allocations: 4 kB / 1.396 GB, free: 7.082 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5117, allocations: 0 / 1.396 GB, free: 7.082 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003482/0.512, allocations: 0 / 1.396 GB, free: 7.082 MB / 1.092 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.01421/0.5262, allocations: 5.187 MB / 1.401 GB, free: 1.828 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.5263, allocations: 12.92 kB / 1.401 GB, free: 1.816 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006708/0.533, allocations: 1.024 MB / 1.402 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007948/0.541, allocations: 3.017 MB / 1.405 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/0.5413, allocations: 324.8 kB / 1.405 GB, free: 13.36 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.5426, allocations: 424 kB / 1.405 GB, free: 12.94 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.5592, allocations: 6.78 MB / 1.412 GB, free: 5.867 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002344/0.5594, allocations: 19.83 kB / 1.412 GB, free: 5.848 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/0.5607, allocations: 184 kB / 1.412 GB, free: 5.668 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/0.5617, allocations: 376 kB / 1.412 GB, free: 5.297 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.5736, allocations: 5.114 MB / 1.417 GB, free: 168 kB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04079/0.6144, allocations: 30.26 MB / 1.447 GB, free: 15.13 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.6166, allocations: 1.324 MB / 1.448 GB, free: 13.8 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.6185, allocations: 1.246 MB / 1.45 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.6186, allocations: 17.22 kB / 1.45 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.6187, allocations: 47.88 kB / 1.45 GB, free: 12.48 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 2.896e-06/0.6187, allocations: 0 / 1.45 GB, free: 12.48 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.08576/0.7044, allocations: 22.85 MB / 1.472 GB, free: 5.566 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.7045, allocations: 73.41 kB / 1.472 GB, free: 5.48 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.7076, allocations: 2.066 MB / 1.474 GB, free: 3.398 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.7079, allocations: 57.7 kB / 1.474 GB, free: 3.336 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.7095, allocations: 2.063 MB / 1.476 GB, free: 1.254 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007764/0.7103, allocations: 0.7087 MB / 1.477 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007454/0.711, allocations: 416.4 kB / 1.477 GB, free: 128 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7112, allocations: 305.1 kB / 1.477 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.7134, allocations: 1.426 MB / 1.479 GB, free: 14.39 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.7162, allocations: 2.021 MB / 1.481 GB, free: 12.12 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/0.7214, allocations: 3.7 MB / 1.484 GB, free: 8.188 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.7214, allocations: 4 kB / 1.484 GB, free: 8.184 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01178/0.7332, allocations: 5.596 MB / 1.49 GB, free: 2.52 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.7332, allocations: 12 kB / 1.49 GB, free: 2.508 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.7332, allocations: 19.94 kB / 1.49 GB, free: 2.488 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007438/0.7407, allocations: 2.088 MB / 1.492 GB, free: 352 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.7423, allocations: 375.4 kB / 1.492 GB, free: 15.97 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0436/0.7859, allocations: 36.62 MB / 1.528 GB, free: 9.285 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.7882, allocations: 131.9 kB / 1.528 GB, free: 9.156 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.7884, allocations: 91.98 kB / 1.528 GB, free: 9.066 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.002623/0.7911, allocations: 1.505 MB / 1.53 GB, free: 7.551 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006448/0.7917, allocations: 294.2 kB / 1.53 GB, free: 7.262 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.8029, allocations: 5.149 MB / 1.535 GB, free: 2.035 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.8029, allocations: 20 kB / 1.535 GB, free: 2.016 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-05/0.8029, allocations: 20 kB / 1.535 GB, free: 1.996 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.803, allocations: 7.969 kB / 1.535 GB, free: 1.988 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.8219, allocations: 9.581 MB / 1.544 GB, free: 8.211 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.822, allocations: 8 kB / 1.544 GB, free: 8.203 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.8229, allocations: 215.6 kB / 1.545 GB, free: 7.992 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006283/0.8291, allocations: 1.846 MB / 1.546 GB, free: 6.09 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002462/0.8294, allocations: 40 kB / 1.547 GB, free: 6.051 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04184/0.8712, allocations: 35.62 MB / 1.581 GB, free: 364 kB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.007e-05/0.8713, allocations: 11.94 kB / 1.581 GB, free: 352 kB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.8814, allocations: 4.852 MB / 1.586 GB, free: 11.33 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.8831, allocations: 0.5527 MB / 1.587 GB, free: 10.78 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004816/0.8836, allocations: 51.86 kB / 1.587 GB, free: 10.73 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.885, allocations: 127.8 kB / 1.587 GB, free: 10.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006581/0.8856, allocations: 197.5 kB / 1.587 GB, free: 10.41 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.8858, allocations: 64 kB / 1.587 GB, free: 10.34 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002145/0.8879, allocations: 1.374 MB / 1.588 GB, free: 8.961 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8879, allocations: 0 / 1.588 GB, free: 8.961 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003562/0.8915, allocations: 1.051 MB / 1.589 GB, free: 7.91 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.0003414/0.8918, allocations: 167.5 kB / 1.59 GB, free: 7.738 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01053/0.9024, allocations: 6.01 MB / 1.595 GB, free: 1.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.9024, allocations: 0 / 1.595 GB, free: 1.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007288/0.9097, allocations: 4.285 MB / 1.6 GB, free: 12.98 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/0.9138, allocations: 0.9935 MB / 1.601 GB, free: 12.02 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.9292, allocations: 8.271 MB / 1.609 GB, free: 3.652 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00393/0.9331, allocations: 3.128 MB / 1.612 GB, free: 500 kB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.6128/1.546, allocations: 0.5177 MB / 1.612 GB, free: 275.8 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/1.547, allocations: 146.4 kB / 1.612 GB, free: 275.8 MB / 1.311 GB Notification: Performance of SimCode: time 1.693e-06/1.547, allocations: 0 / 1.612 GB, free: 275.8 MB / 1.311 GB Notification: Performance of Templates: time 0.0959/1.643, allocations: 60.88 MB / 1.672 GB, free: 251.8 MB / 1.311 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/jenkins/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: 11.935251901857555]