Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001349/0.001349, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002527/0.002527, allocations: 218.5 kB / 22.25 MB, free: 4.852 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.801 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.411/3.411, allocations: 0.5107 GB / 0.8158 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.003124/0.003124, allocations: 71.06 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3964, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04103/0.4374, allocations: 31.52 MB / 1.395 GB, free: 14 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.4561, allocations: 10.29 MB / 1.405 GB, free: 3.68 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.4594, allocations: 190.6 kB / 1.405 GB, free: 3.492 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.4698, allocations: 3.734 MB / 1.409 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005878/0.4757, allocations: 1.952 MB / 1.41 GB, free: 13.79 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005818/0.4815, allocations: 2.148 MB / 1.413 GB, free: 11.64 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.4921, allocations: 7.315 MB / 1.42 GB, free: 4.305 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008612/0.5007, allocations: 5.11 MB / 1.425 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/0.5063, allocations: 3.299 MB / 1.428 GB, free: 11.77 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006256/0.5125, allocations: 3.438 MB / 1.431 GB, free: 8.316 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.5141, allocations: 0.6445 MB / 1.432 GB, free: 7.672 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.5183, allocations: 1.658 MB / 1.433 GB, free: 6.012 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003376/0.5216, allocations: 2.615 MB / 1.436 GB, free: 3.391 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003835/0.5255, allocations: 2.339 MB / 1.438 GB, free: 1.043 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.5393, allocations: 10.19 MB / 1.448 GB, free: 6.824 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.5393, allocations: 4 kB / 1.448 GB, free: 6.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.926e-06/0.5393, allocations: 0 / 1.448 GB, free: 6.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004144/0.5398, allocations: 0 / 1.448 GB, free: 6.82 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01363/0.5534, allocations: 5.044 MB / 1.453 GB, free: 1.715 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5534, allocations: 12.03 kB / 1.453 GB, free: 1.703 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005574/0.559, allocations: 0.9813 MB / 1.454 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007541/0.5665, allocations: 2.995 MB / 1.457 GB, free: 13.65 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.5669, allocations: 353.7 kB / 1.457 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.5682, allocations: 456.3 kB / 1.458 GB, free: 12.86 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.5869, allocations: 7.968 MB / 1.466 GB, free: 4.469 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.5871, allocations: 43.7 kB / 1.466 GB, free: 4.426 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/0.5884, allocations: 196 kB / 1.466 GB, free: 4.234 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004407/0.5889, allocations: 312.9 kB / 1.466 GB, free: 3.926 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.6014, allocations: 5.702 MB / 1.472 GB, free: 14.21 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03579/0.6372, allocations: 21.92 MB / 1.493 GB, free: 7.648 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/0.6401, allocations: 1.54 MB / 1.495 GB, free: 6.102 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.6419, allocations: 1.128 MB / 1.496 GB, free: 4.977 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-05/0.6419, allocations: 17.31 kB / 1.496 GB, free: 4.957 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.642, allocations: 47.88 kB / 1.496 GB, free: 4.902 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.727e-06/0.642, allocations: 0 / 1.496 GB, free: 4.902 MB / 1.186 GB Notification: Performance of matching and sorting (n=136): time 0.01518/0.6572, allocations: 6.203 MB / 1.502 GB, free: 14.65 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.6572, allocations: 72.66 kB / 1.502 GB, free: 14.57 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.6596, allocations: 1.403 MB / 1.503 GB, free: 13.16 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.6597, allocations: 49.7 kB / 1.503 GB, free: 13.11 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.6613, allocations: 2.057 MB / 1.505 GB, free: 11.04 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005224/0.6618, allocations: 0.4957 MB / 1.506 GB, free: 10.54 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006026/0.6624, allocations: 359.3 kB / 1.506 GB, free: 10.18 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6626, allocations: 301.1 kB / 1.506 GB, free: 9.879 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.664, allocations: 0.9096 MB / 1.507 GB, free: 8.969 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.6661, allocations: 1.589 MB / 1.509 GB, free: 7.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/0.6698, allocations: 2.741 MB / 1.512 GB, free: 4.016 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/0.6698, allocations: 8 kB / 1.512 GB, free: 4.008 MB / 1.201 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006723/0.6765, allocations: 3.5 MB / 1.515 GB, free: 472 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.6766, allocations: 16 kB / 1.515 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/0.6766, allocations: 28.12 kB / 1.515 GB, free: 428 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/0.6794, allocations: 0.8921 MB / 1.516 GB, free: 15.49 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.6807, allocations: 351.3 kB / 1.516 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/0.7044, allocations: 21.48 MB / 1.537 GB, free: 8.441 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.7059, allocations: 99.95 kB / 1.537 GB, free: 8.344 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.7062, allocations: 88 kB / 1.537 GB, free: 8.258 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002745/0.7089, allocations: 1.609 MB / 1.539 GB, free: 6.637 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/0.7093, allocations: 202.8 kB / 1.539 GB, free: 6.438 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005679/0.715, allocations: 2.959 MB / 1.542 GB, free: 3.43 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.715, allocations: 23.88 kB / 1.542 GB, free: 3.406 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/0.7151, allocations: 12 kB / 1.542 GB, free: 3.395 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.7151, allocations: 7.969 kB / 1.542 GB, free: 3.387 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.7273, allocations: 5.999 MB / 1.548 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7273, allocations: 4 kB / 1.548 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/0.7281, allocations: 179.7 kB / 1.548 GB, free: 13.07 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/0.7306, allocations: 0.8141 MB / 1.549 GB, free: 12.22 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.7307, allocations: 28 kB / 1.549 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/0.752, allocations: 20.33 MB / 1.569 GB, free: 6.629 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.752, allocations: 8 kB / 1.569 GB, free: 6.621 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005586/0.7576, allocations: 2.994 MB / 1.572 GB, free: 3.512 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.7587, allocations: 390.5 kB / 1.572 GB, free: 3.129 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.7591, allocations: 24 kB / 1.572 GB, free: 3.105 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/0.76, allocations: 75.97 kB / 1.572 GB, free: 3.031 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.7603, allocations: 132.6 kB / 1.572 GB, free: 2.902 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.7604, allocations: 36 kB / 1.572 GB, free: 2.867 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001376/0.7618, allocations: 0.8981 MB / 1.573 GB, free: 1.977 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7618, allocations: 0 / 1.573 GB, free: 1.977 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002754/0.7645, allocations: 0.7852 MB / 1.574 GB, free: 1.191 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002517/0.7648, allocations: 139.1 kB / 1.574 GB, free: 1.047 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006112/0.7709, allocations: 3.921 MB / 1.578 GB, free: 12.97 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7709, allocations: 0 / 1.578 GB, free: 12.97 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003922/0.7748, allocations: 2.659 MB / 1.581 GB, free: 10.16 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.778, allocations: 0.7196 MB / 1.581 GB, free: 9.461 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.7916, allocations: 7.335 MB / 1.588 GB, free: 2.035 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004305/0.7959, allocations: 2.561 MB / 1.591 GB, free: 15.44 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001371/0.7973, allocations: 445.2 kB / 1.591 GB, free: 15 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.7976, allocations: 107.4 kB / 1.591 GB, free: 14.9 MB / 1.295 GB Notification: Performance of SimCode: time 8.01e-07/0.7976, allocations: 0 / 1.591 GB, free: 14.9 MB / 1.295 GB Notification: Performance of Templates: time 0.724/1.522, allocations: 41.02 MB / 1.632 GB, free: 216.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.213225143030286]