Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001867/0.001867, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002582/0.002582, allocations: 220.3 kB / 23 MB, free: 4.914 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.621/1.621, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.442/3.442, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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,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") 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_latest_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.002104/0.002104, allocations: 69.45 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04051/0.4063, allocations: 29.29 MB / 1.393 GB, free: 188 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02528/0.4316, allocations: 13.2 MB / 1.406 GB, free: 2.953 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.435, allocations: 198.4 kB / 1.406 GB, free: 2.758 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009576/0.4446, allocations: 3.206 MB / 1.409 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009175/0.4538, allocations: 2.745 MB / 1.412 GB, free: 12.79 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00592/0.4597, allocations: 2.033 MB / 1.414 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01127/0.4709, allocations: 7.614 MB / 1.422 GB, free: 3.113 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008001/0.4789, allocations: 4.604 MB / 1.426 GB, free: 14.39 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006808/0.4858, allocations: 3.658 MB / 1.43 GB, free: 10.72 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006503/0.4923, allocations: 3.289 MB / 1.433 GB, free: 7.418 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.4938, allocations: 0.5938 MB / 1.433 GB, free: 6.824 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.4975, allocations: 1.4 MB / 1.435 GB, free: 5.422 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003292/0.5008, allocations: 2.412 MB / 1.437 GB, free: 3.004 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004523/0.5054, allocations: 2.327 MB / 1.439 GB, free: 0.668 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.5185, allocations: 9.523 MB / 1.449 GB, free: 7.113 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5185, allocations: 0 / 1.449 GB, free: 7.113 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5185, allocations: 0 / 1.449 GB, free: 7.113 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002943/0.5188, allocations: 4 kB / 1.449 GB, free: 7.109 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01339/0.5322, allocations: 5.164 MB / 1.454 GB, free: 1.879 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5323, allocations: 11.97 kB / 1.454 GB, free: 1.867 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006014/0.5383, allocations: 1.024 MB / 1.455 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00738/0.5457, allocations: 3.009 MB / 1.458 GB, free: 13.74 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/0.546, allocations: 316.8 kB / 1.458 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.5471, allocations: 432 kB / 1.458 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.5617, allocations: 7.358 MB / 1.466 GB, free: 5.219 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.5618, allocations: 19.88 kB / 1.466 GB, free: 5.199 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/0.5623, allocations: 184 kB / 1.466 GB, free: 5.02 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009528/0.5632, allocations: 376 kB / 1.466 GB, free: 4.648 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.5734, allocations: 5.103 MB / 1.471 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03118/0.6046, allocations: 19.03 MB / 1.49 GB, free: 11.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.6068, allocations: 1.312 MB / 1.491 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.6087, allocations: 1.247 MB / 1.492 GB, free: 9.422 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.283e-05/0.6088, allocations: 17.31 kB / 1.492 GB, free: 9.402 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.6088, allocations: 51.81 kB / 1.492 GB, free: 9.344 MB / 1.186 GB Notification: Performance of pre-optimization done (n=130): time 4.098e-06/0.6088, allocations: 0 / 1.492 GB, free: 9.344 MB / 1.186 GB Notification: Performance of matching and sorting (n=199): time 0.09122/0.7, allocations: 22.83 MB / 1.515 GB, free: 2.453 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.7001, allocations: 73.41 kB / 1.515 GB, free: 2.367 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/0.7031, allocations: 1.849 MB / 1.516 GB, free: 500 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.7033, allocations: 61.64 kB / 1.517 GB, free: 432 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.705, allocations: 2.069 MB / 1.519 GB, free: 14.34 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007537/0.7058, allocations: 0.7165 MB / 1.519 GB, free: 13.61 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000759/0.7065, allocations: 416.4 kB / 1.52 GB, free: 13.2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7067, allocations: 305.1 kB / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.7089, allocations: 1.43 MB / 1.521 GB, free: 11.46 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.7117, allocations: 2.013 MB / 1.523 GB, free: 9.203 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/0.717, allocations: 3.696 MB / 1.527 GB, free: 5.27 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.717, allocations: 4 kB / 1.527 GB, free: 5.266 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01163/0.7287, allocations: 5.576 MB / 1.532 GB, free: 15.62 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.7287, allocations: 13.88 kB / 1.532 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.7287, allocations: 20.88 kB / 1.532 GB, free: 15.59 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006808/0.7355, allocations: 2.076 MB / 1.534 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.7371, allocations: 387.3 kB / 1.535 GB, free: 13.08 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04375/0.7809, allocations: 35.88 MB / 1.57 GB, free: 7.344 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.7835, allocations: 131.9 kB / 1.57 GB, free: 7.215 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.7837, allocations: 91.98 kB / 1.57 GB, free: 7.125 MB / 1.264 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.00296/0.7867, allocations: 1.504 MB / 1.571 GB, free: 5.609 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005893/0.7873, allocations: 274.3 kB / 1.572 GB, free: 5.34 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.7982, allocations: 5.13 MB / 1.577 GB, free: 136 kB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.7982, allocations: 23.98 kB / 1.577 GB, free: 112 kB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.412e-05/0.7982, allocations: 16 kB / 1.577 GB, free: 96 kB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/0.7983, allocations: 7.969 kB / 1.577 GB, free: 88 kB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.816, allocations: 8.45 MB / 1.585 GB, free: 7.453 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.816, allocations: 8 kB / 1.585 GB, free: 7.445 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/0.8169, allocations: 211.6 kB / 1.585 GB, free: 7.238 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005995/0.8229, allocations: 1.834 MB / 1.587 GB, free: 5.348 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.8231, allocations: 44 kB / 1.587 GB, free: 5.305 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.796/1.619, allocations: 34.87 MB / 1.621 GB, free: 210.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.619, allocations: 13.05 kB / 1.621 GB, free: 210.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/1.629, allocations: 4.828 MB / 1.626 GB, free: 209.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.631, allocations: 0.5275 MB / 1.626 GB, free: 209 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/1.631, allocations: 45.53 kB / 1.626 GB, free: 209 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.633, allocations: 128.8 kB / 1.627 GB, free: 208.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007318/1.634, allocations: 205.2 kB / 1.627 GB, free: 208.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.634, allocations: 59.91 kB / 1.627 GB, free: 208.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001823/1.635, allocations: 1.206 MB / 1.628 GB, free: 208.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.635, allocations: 1.281 kB / 1.628 GB, free: 208.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004405/1.64, allocations: 1.039 MB / 1.629 GB, free: 208.3 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.0003791/1.64, allocations: 166.7 kB / 1.629 GB, free: 208.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009391/1.65, allocations: 6.005 MB / 1.635 GB, free: 204.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.65, allocations: 2.812 kB / 1.635 GB, free: 204.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006584/1.656, allocations: 4.287 MB / 1.639 GB, free: 201.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/1.66, allocations: 0.9138 MB / 1.64 GB, free: 201.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.676, allocations: 8.808 MB / 1.649 GB, free: 197.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004315/1.68, allocations: 2.64 MB / 1.651 GB, free: 196.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/1.681, allocations: 150.7 kB / 1.651 GB, free: 196.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.302e-06/1.681, allocations: 0 / 1.651 GB, free: 196.9 MB / 1.295 GB Notification: Performance of Templates: time 0.4086/2.089, allocations: 465.2 MB / 2.106 GB, free: 4.461 MB / 1.545 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.576084099244326]