Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001957/0.001957, 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.002482/0.002482, allocations: 223.2 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.277/3.277, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [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.00214/0.00214, allocations: 70.42 kB / 1.187 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3505, allocations: 181.9 MB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02906/0.3795, allocations: 21.57 MB / 1.386 GB, free: 8.023 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3923, allocations: 6.179 MB / 1.392 GB, free: 1.832 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.3943, allocations: 123.1 kB / 1.392 GB, free: 1.711 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004711/0.399, allocations: 1.559 MB / 1.393 GB, free: 148 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.4036, allocations: 1.727 MB / 1.395 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.4072, allocations: 1.355 MB / 1.396 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007851/0.4151, allocations: 5.928 MB / 1.402 GB, free: 7.113 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005956/0.421, allocations: 3.197 MB / 1.405 GB, free: 3.828 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004581/0.4256, allocations: 2.493 MB / 1.408 GB, free: 1.328 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005475/0.4311, allocations: 2.924 MB / 1.411 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.4325, allocations: 456 kB / 1.411 GB, free: 13.95 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.4355, allocations: 1.034 MB / 1.412 GB, free: 12.91 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003522/0.439, allocations: 2.085 MB / 1.414 GB, free: 10.82 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003532/0.4426, allocations: 1.755 MB / 1.416 GB, free: 9.062 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009814/0.4524, allocations: 7.347 MB / 1.423 GB, free: 1.691 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.4524, allocations: 0 / 1.423 GB, free: 1.691 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4524, allocations: 0 / 1.423 GB, free: 1.691 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002059/0.4526, allocations: 0 / 1.423 GB, free: 1.691 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008719/0.4613, allocations: 3.842 MB / 1.427 GB, free: 13.8 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4613, allocations: 8.031 kB / 1.427 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.4676, allocations: 1.235 MB / 1.428 GB, free: 12.55 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.4739, allocations: 2.305 MB / 1.43 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/0.4742, allocations: 242.3 kB / 1.43 GB, free: 9.957 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.4753, allocations: 319.9 kB / 1.431 GB, free: 9.645 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.4894, allocations: 6.442 MB / 1.437 GB, free: 2.895 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.4895, allocations: 15.88 kB / 1.437 GB, free: 2.879 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.4905, allocations: 139.9 kB / 1.437 GB, free: 2.742 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006141/0.4911, allocations: 406.3 kB / 1.438 GB, free: 2.344 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.5013, allocations: 4.662 MB / 1.442 GB, free: 13.67 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/0.5346, allocations: 18.07 MB / 1.46 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.5372, allocations: 1.365 MB / 1.461 GB, free: 9.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.5396, allocations: 1.442 MB / 1.462 GB, free: 8.289 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.5397, allocations: 9 kB / 1.462 GB, free: 8.281 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.544e-05/0.5398, allocations: 51.55 kB / 1.463 GB, free: 8.223 MB / 1.154 GB Notification: Performance of pre-optimization done (n=110): time 3.907e-06/0.5398, allocations: 4 kB / 1.463 GB, free: 8.219 MB / 1.154 GB Notification: Performance of matching and sorting (n=179): time 0.1528/0.6926, allocations: 37.06 MB / 1.499 GB, free: 3.109 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.6926, allocations: 77.41 kB / 1.499 GB, free: 3.02 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.695, allocations: 1.356 MB / 1.5 GB, free: 1.652 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.6953, allocations: 61.69 kB / 1.5 GB, free: 1.586 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.6967, allocations: 1.59 MB / 1.502 GB, free: 15.98 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008749/0.6976, allocations: 0.6391 MB / 1.502 GB, free: 15.33 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008888/0.6985, allocations: 383.5 kB / 1.503 GB, free: 14.95 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6986, allocations: 308.9 kB / 1.503 GB, free: 14.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002946/0.7016, allocations: 1.78 MB / 1.505 GB, free: 12.86 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/0.7052, allocations: 2.35 MB / 1.507 GB, free: 10.27 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006903/0.7121, allocations: 4.391 MB / 1.511 GB, free: 5.637 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/0.7121, allocations: 8 kB / 1.511 GB, free: 5.629 MB / 1.201 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02027/0.7324, allocations: 8.419 MB / 1.52 GB, free: 13.17 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.7324, allocations: 12 kB / 1.52 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.7324, allocations: 16 kB / 1.52 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01596/0.7484, allocations: 4.62 MB / 1.524 GB, free: 8.508 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.7497, allocations: 303.4 kB / 1.524 GB, free: 8.211 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05421/0.8039, allocations: 31.43 MB / 1.555 GB, free: 8.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.8061, allocations: 147.8 kB / 1.555 GB, free: 8.016 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.8063, allocations: 87.98 kB / 1.555 GB, free: 7.93 MB / 1.248 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002491/0.8088, allocations: 1.333 MB / 1.557 GB, free: 6.586 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.8093, allocations: 194.8 kB / 1.557 GB, free: 6.395 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/0.8282, allocations: 8.3 MB / 1.565 GB, free: 14.04 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.8282, allocations: 16 kB / 1.565 GB, free: 14.03 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.694e-05/0.8283, allocations: 28 kB / 1.565 GB, free: 14 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-05/0.8283, allocations: 7.969 kB / 1.565 GB, free: 13.99 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02624/0.8546, allocations: 11.64 MB / 1.576 GB, free: 2.199 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/0.8546, allocations: 11.98 kB / 1.576 GB, free: 2.188 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.8554, allocations: 160.6 kB / 1.576 GB, free: 2.031 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01498/0.8703, allocations: 4.472 MB / 1.581 GB, free: 13.54 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003119/0.8706, allocations: 43.98 kB / 1.581 GB, free: 13.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7913/1.662, allocations: 31.02 MB / 1.611 GB, free: 224.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.662, allocations: 11.06 kB / 1.611 GB, free: 224.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/1.682, allocations: 8.1 MB / 1.619 GB, free: 224.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.684, allocations: 0.5336 MB / 1.62 GB, free: 224.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004067/1.685, allocations: 40.5 kB / 1.62 GB, free: 224.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.686, allocations: 136.3 kB / 1.62 GB, free: 224 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008325/1.687, allocations: 180.2 kB / 1.62 GB, free: 224 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.687, allocations: 53.14 kB / 1.62 GB, free: 224 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001376/1.689, allocations: 0.8946 MB / 1.621 GB, free: 223.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/1.689, allocations: 0 / 1.621 GB, free: 223.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003934/1.692, allocations: 1.115 MB / 1.622 GB, free: 223.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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003745/1.693, allocations: 152.4 kB / 1.622 GB, free: 223.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01436/1.707, allocations: 6.309 MB / 1.628 GB, free: 221.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/1.707, allocations: 1.062 kB / 1.628 GB, free: 221.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009976/1.717, allocations: 4.181 MB / 1.632 GB, free: 219.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.72, allocations: 0.5111 MB / 1.633 GB, free: 219.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/1.735, allocations: 7.505 MB / 1.64 GB, free: 215.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/1.738, allocations: 2.244 MB / 1.642 GB, free: 215.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/1.739, allocations: 105.5 kB / 1.642 GB, free: 215.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.593e-06/1.739, allocations: 0 / 1.642 GB, free: 215.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1159/1.854, allocations: 155.4 MB / 1.794 GB, free: 76.55 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 21.17399570159614]