Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001581/0.001581, 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.002054/0.002054, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.236/3.236, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [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.002048/0.002048, allocations: 63.77 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3844, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04538/0.4298, allocations: 34.83 MB / 1.388 GB, free: 4.988 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02553/0.4553, allocations: 15.3 MB / 1.403 GB, free: 5.645 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003877/0.4592, allocations: 210.4 kB / 1.403 GB, free: 5.438 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009614/0.4688, allocations: 3.832 MB / 1.407 GB, free: 1.598 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008581/0.4774, allocations: 3.003 MB / 1.41 GB, free: 14.58 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.0061/0.4835, allocations: 2.387 MB / 1.412 GB, free: 12.19 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.0126/0.4961, allocations: 8.82 MB / 1.421 GB, free: 3.344 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008635/0.5047, allocations: 5.542 MB / 1.426 GB, free: 13.68 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007267/0.512, allocations: 4.199 MB / 1.43 GB, free: 9.469 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006961/0.5189, allocations: 4.197 MB / 1.434 GB, free: 5.258 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.5201, allocations: 0.7109 MB / 1.435 GB, free: 4.547 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.5237, allocations: 1.744 MB / 1.437 GB, free: 2.801 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.5267, allocations: 2.891 MB / 1.44 GB, free: 15.9 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00423/0.5309, allocations: 3.377 MB / 1.443 GB, free: 12.51 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01345/0.5443, allocations: 11.21 MB / 1.454 GB, free: 1.27 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5443, allocations: 0 / 1.454 GB, free: 1.27 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5443, allocations: 0 / 1.454 GB, free: 1.27 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002553/0.5446, allocations: 0 / 1.454 GB, free: 1.27 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01285/0.5574, allocations: 6.029 MB / 1.46 GB, free: 11.18 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5575, allocations: 15.97 kB / 1.46 GB, free: 11.16 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006308/0.5638, allocations: 1.172 MB / 1.461 GB, free: 9.984 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007653/0.5715, allocations: 3.442 MB / 1.464 GB, free: 6.453 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.5718, allocations: 374.4 kB / 1.465 GB, free: 6.086 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008295/0.5726, allocations: 0.4961 MB / 1.465 GB, free: 5.59 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.5861, allocations: 7.969 MB / 1.473 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.5862, allocations: 27.81 kB / 1.473 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005024/0.5867, allocations: 216 kB / 1.473 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001022/0.5877, allocations: 433.6 kB / 1.474 GB, free: 12.69 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.5983, allocations: 6.081 MB / 1.48 GB, free: 6.598 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04396/0.6423, allocations: 34.65 MB / 1.513 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.6452, allocations: 1.916 MB / 1.515 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.6478, allocations: 1.744 MB / 1.517 GB, free: 13.09 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.6479, allocations: 18 kB / 1.517 GB, free: 13.07 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.6479, allocations: 56.5 kB / 1.517 GB, free: 13 MB / 1.217 GB Notification: Performance of pre-optimization done (n=171): time 3.436e-06/0.648, allocations: 0 / 1.517 GB, free: 13 MB / 1.217 GB Notification: Performance of matching and sorting (n=276): time 0.1465/0.7945, allocations: 38.7 MB / 1.555 GB, free: 6.242 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.7945, allocations: 85.58 kB / 1.555 GB, free: 6.145 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003495/0.798, allocations: 2.278 MB / 1.557 GB, free: 3.852 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003597/0.7984, allocations: 69.7 kB / 1.557 GB, free: 3.777 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001872/0.8003, allocations: 2.338 MB / 1.56 GB, free: 1.418 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.8013, allocations: 0.9837 MB / 1.56 GB, free: 436 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009614/0.8023, allocations: 0.5025 MB / 1.561 GB, free: 15.91 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8024, allocations: 309 kB / 1.561 GB, free: 15.61 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/0.8055, allocations: 1.977 MB / 1.563 GB, free: 13.63 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.8091, allocations: 2.602 MB / 1.566 GB, free: 10.79 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007203/0.8163, allocations: 4.933 MB / 1.571 GB, free: 5.578 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.8164, allocations: 4 kB / 1.571 GB, free: 5.574 MB / 1.264 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01562/0.832, allocations: 7.65 MB / 1.578 GB, free: 13.85 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.832, allocations: 12 kB / 1.578 GB, free: 13.84 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.832, allocations: 20.16 kB / 1.578 GB, free: 13.82 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009544/0.8416, allocations: 3.216 MB / 1.581 GB, free: 10.59 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.8433, allocations: 403.3 kB / 1.582 GB, free: 10.19 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7992/1.643, allocations: 33.28 MB / 1.614 GB, free: 228.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/1.646, allocations: 164 kB / 1.614 GB, free: 228.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/1.646, allocations: 109.9 kB / 1.614 GB, free: 228.1 MB / 1.295 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003777/1.65, allocations: 1.797 MB / 1.616 GB, free: 227.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008596/1.651, allocations: 347.6 kB / 1.616 GB, free: 227.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/1.666, allocations: 7.241 MB / 1.623 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/1.666, allocations: 27.28 kB / 1.624 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.012e-05/1.666, allocations: 29.53 kB / 1.624 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/1.666, allocations: 15.8 kB / 1.624 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.69, allocations: 12.79 MB / 1.636 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.69, allocations: 6.281 kB / 1.636 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/1.691, allocations: 235.6 kB / 1.636 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007996/1.699, allocations: 2.854 MB / 1.639 GB, free: 218.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003508/1.7, allocations: 49.06 kB / 1.639 GB, free: 218.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03606/1.736, allocations: 32.08 MB / 1.67 GB, free: 200.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.736, allocations: 18.92 kB / 1.67 GB, free: 200.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.746, allocations: 6.779 MB / 1.677 GB, free: 197 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/1.749, allocations: 0.7267 MB / 1.678 GB, free: 196.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000629/1.749, allocations: 63.42 kB / 1.678 GB, free: 196.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.751, allocations: 174.6 kB / 1.678 GB, free: 196.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008108/1.752, allocations: 266.1 kB / 1.678 GB, free: 196.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.752, allocations: 79.25 kB / 1.678 GB, free: 196.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001856/1.754, allocations: 1.526 MB / 1.68 GB, free: 195.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.754, allocations: 0 / 1.68 GB, free: 195.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004162/1.758, allocations: 1.37 MB / 1.681 GB, free: 194.7 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003666/1.758, allocations: 179.1 kB / 1.681 GB, free: 194.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009187/1.767, allocations: 6.553 MB / 1.688 GB, free: 187.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.767, allocations: 0 / 1.688 GB, free: 187.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006125/1.774, allocations: 4.255 MB / 1.692 GB, free: 183.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/1.778, allocations: 1.125 MB / 1.693 GB, free: 182.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.793, allocations: 11.05 MB / 1.704 GB, free: 171.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/1.796, allocations: 3.753 MB / 1.707 GB, free: 167.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007205/1.797, allocations: 171.4 kB / 1.708 GB, free: 167.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.403e-06/1.797, allocations: 0 / 1.708 GB, free: 167.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1867/1.984, allocations: 227.9 MB / 1.93 GB, free: 3.605 MB / 1.358 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 25.98638379300246]