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.002248/0.002248, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002543/0.002543, allocations: 216.2 kB / 22.25 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.789 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.325/3.325, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002128/0.002128, allocations: 73.02 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3583, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04163/0.3999, allocations: 31.7 MB / 1.395 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.4263, allocations: 14.46 MB / 1.409 GB, free: 15.25 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.4296, allocations: 214.4 kB / 1.409 GB, free: 15.04 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.4404, allocations: 3.679 MB / 1.413 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.451, allocations: 2.972 MB / 1.416 GB, free: 8.367 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006874/0.4578, allocations: 2.341 MB / 1.418 GB, free: 6.027 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01299/0.4708, allocations: 8.808 MB / 1.427 GB, free: 13.19 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01182/0.4826, allocations: 5.479 MB / 1.432 GB, free: 7.586 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008136/0.4908, allocations: 4.219 MB / 1.436 GB, free: 3.355 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007583/0.4984, allocations: 3.936 MB / 1.44 GB, free: 15.41 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.00252/0.5009, allocations: 0.7148 MB / 1.441 GB, free: 14.69 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005036/0.5059, allocations: 1.611 MB / 1.442 GB, free: 13.08 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005076/0.511, allocations: 2.903 MB / 1.445 GB, free: 10.17 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.007778/0.5188, allocations: 2.739 MB / 1.448 GB, free: 7.418 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.5367, allocations: 11.25 MB / 1.459 GB, free: 12.13 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5367, allocations: 0 / 1.459 GB, free: 12.13 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5367, allocations: 0 / 1.459 GB, free: 12.13 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0003863/0.5371, allocations: 0 / 1.459 GB, free: 12.13 MB / 1.154 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.01698/0.5541, allocations: 6.039 MB / 1.465 GB, free: 6.027 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5541, allocations: 8.031 kB / 1.465 GB, free: 6.02 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007868/0.562, allocations: 1.172 MB / 1.466 GB, free: 4.844 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009764/0.5718, allocations: 3.446 MB / 1.469 GB, free: 1.309 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004129/0.5722, allocations: 374.4 kB / 1.469 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/0.574, allocations: 500 kB / 1.47 GB, free: 464 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.5959, allocations: 8.705 MB / 1.478 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002503/0.5962, allocations: 19.89 kB / 1.478 GB, free: 7.289 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/0.5976, allocations: 216 kB / 1.479 GB, free: 7.078 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001286/0.5989, allocations: 441.5 kB / 1.479 GB, free: 6.645 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.6126, allocations: 6.069 MB / 1.485 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03986/0.6525, allocations: 21.22 MB / 1.506 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.6555, allocations: 1.912 MB / 1.508 GB, free: 8.945 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.6582, allocations: 1.748 MB / 1.509 GB, free: 7.199 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.6583, allocations: 18 kB / 1.509 GB, free: 7.18 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/0.6583, allocations: 64.5 kB / 1.509 GB, free: 7.109 MB / 1.201 GB Notification: Performance of pre-optimization done (n=171): time 4.428e-06/0.6583, allocations: 0 / 1.509 GB, free: 7.109 MB / 1.201 GB Notification: Performance of matching and sorting (n=276): time 0.1621/0.8204, allocations: 38.66 MB / 1.547 GB, free: 404 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.8205, allocations: 81.58 kB / 1.547 GB, free: 308 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/0.8248, allocations: 2.047 MB / 1.549 GB, free: 14.23 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005054/0.8253, allocations: 69.7 kB / 1.549 GB, free: 14.16 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002119/0.8274, allocations: 2.352 MB / 1.552 GB, free: 11.79 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001436/0.8289, allocations: 0.9799 MB / 1.552 GB, free: 10.8 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001641/0.8305, allocations: 0.5064 MB / 1.553 GB, free: 10.28 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.8307, allocations: 305.1 kB / 1.553 GB, free: 9.98 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003551/0.8342, allocations: 1.97 MB / 1.555 GB, free: 8.008 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00412/0.8384, allocations: 2.61 MB / 1.558 GB, free: 5.152 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008001/0.8464, allocations: 4.925 MB / 1.563 GB, free: 15.95 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/0.8464, allocations: 7.938 kB / 1.563 GB, free: 15.95 MB / 1.264 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01663/0.863, allocations: 7.626 MB / 1.57 GB, free: 8.25 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.8631, allocations: 12 kB / 1.57 GB, free: 8.238 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/0.8631, allocations: 20 kB / 1.57 GB, free: 8.219 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009767/0.8729, allocations: 3.204 MB / 1.573 GB, free: 4.996 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.8747, allocations: 403.3 kB / 1.574 GB, free: 4.602 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05133/0.926, allocations: 32.58 MB / 1.605 GB, free: 3.395 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.9291, allocations: 163.8 kB / 1.605 GB, free: 3.234 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005683/0.9297, allocations: 108 kB / 1.606 GB, free: 3.129 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.004001/0.9337, allocations: 1.803 MB / 1.607 GB, free: 1.316 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009708/0.9346, allocations: 318.1 kB / 1.608 GB, free: 1.004 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7872/1.722, allocations: 7.223 MB / 1.615 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/1.722, allocations: 27.22 kB / 1.615 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/1.722, allocations: 29.17 kB / 1.615 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.674e-05/1.722, allocations: 15.52 kB / 1.615 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/1.746, allocations: 11.39 MB / 1.626 GB, free: 220.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.746, allocations: 9.719 kB / 1.626 GB, free: 220.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009309/1.747, allocations: 234 kB / 1.626 GB, free: 220.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00812/1.755, allocations: 2.85 MB / 1.629 GB, free: 220.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/1.756, allocations: 52.38 kB / 1.629 GB, free: 220.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03911/1.795, allocations: 31.33 MB / 1.66 GB, free: 202.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.795, allocations: 7.906 kB / 1.66 GB, free: 202.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.805, allocations: 6.757 MB / 1.666 GB, free: 199.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/1.807, allocations: 0.6986 MB / 1.667 GB, free: 199.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003806/1.808, allocations: 57.73 kB / 1.667 GB, free: 199.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/1.809, allocations: 172.9 kB / 1.667 GB, free: 199.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009213/1.81, allocations: 270.7 kB / 1.667 GB, free: 199.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.81, allocations: 74.47 kB / 1.667 GB, free: 199.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001573/1.812, allocations: 1.332 MB / 1.669 GB, free: 198.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/1.812, allocations: 0 / 1.669 GB, free: 198.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003507/1.815, allocations: 1.363 MB / 1.67 GB, free: 198.6 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.0003033/1.816, allocations: 173.5 kB / 1.67 GB, free: 198.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009022/1.825, allocations: 6.56 MB / 1.677 GB, free: 194.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.825, allocations: 4 kB / 1.677 GB, free: 194.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006165/1.831, allocations: 4.263 MB / 1.681 GB, free: 190.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.835, allocations: 1.002 MB / 1.682 GB, free: 189.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.85, allocations: 10.36 MB / 1.692 GB, free: 179 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003614/1.854, allocations: 3.115 MB / 1.695 GB, free: 175.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002231/1.856, allocations: 0.5221 MB / 1.695 GB, free: 175.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/1.856, allocations: 143.4 kB / 1.696 GB, free: 175.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.513e-06/1.856, allocations: 0 / 1.696 GB, free: 175.2 MB / 1.295 GB Notification: Performance of Templates: time 0.09918/1.955, allocations: 81.96 MB / 1.776 GB, free: 94.59 MB / 1.295 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/jenkins/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: 12.56997018866241]