Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001398/0.001398, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001454/0.001454, allocations: 156.5 kB / 23.01 MB, free: 4.605 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.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 2.877/2.877, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_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.002264/0.002264, allocations: 63.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8667/0.869, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02524/0.8942, allocations: 22.26 MB / 1.208 GB, free: 2.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.9065, allocations: 6.442 MB / 1.215 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.9091, allocations: 130.2 kB / 1.215 GB, free: 13.88 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.9135, allocations: 1.514 MB / 1.216 GB, free: 13.04 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.9187, allocations: 1.931 MB / 1.218 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.9228, allocations: 1.47 MB / 1.22 GB, free: 11.13 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.9338, allocations: 6.911 MB / 1.226 GB, free: 8.125 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008096/0.9419, allocations: 3.719 MB / 1.23 GB, free: 6.27 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006515/0.9484, allocations: 2.94 MB / 1.233 GB, free: 4.977 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008175/0.9566, allocations: 3.565 MB / 1.236 GB, free: 3.691 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.9584, allocations: 0.5262 MB / 1.237 GB, free: 3.691 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.9627, allocations: 1.11 MB / 1.238 GB, free: 3.484 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004779/0.9675, allocations: 2.535 MB / 1.24 GB, free: 2.496 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005868/0.9734, allocations: 2.048 MB / 1.242 GB, free: 1.238 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.9862, allocations: 8.589 MB / 1.251 GB, free: 11.14 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.9862, allocations: 0 / 1.251 GB, free: 11.14 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9862, allocations: 5.062 kB / 1.251 GB, free: 11.13 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002921/0.9865, allocations: 0 / 1.251 GB, free: 11.13 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01397/1, allocations: 4.465 MB / 1.255 GB, free: 8.102 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/1.001, allocations: 10.86 kB / 1.255 GB, free: 8.102 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.011, allocations: 1.714 MB / 1.257 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007514/1.018, allocations: 2.67 MB / 1.259 GB, free: 5.594 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/1.019, allocations: 279.2 kB / 1.26 GB, free: 5.465 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0016/1.02, allocations: 356.4 kB / 1.26 GB, free: 5.348 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/1.038, allocations: 7.72 MB / 1.268 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/1.038, allocations: 17.53 kB / 1.268 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008516/1.039, allocations: 157.3 kB / 1.268 GB, free: 468 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007576/1.04, allocations: 486 kB / 1.268 GB, free: 312 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/1.053, allocations: 5.693 MB / 1.274 GB, free: 12.48 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0371/1.091, allocations: 19.96 MB / 1.293 GB, free: 8.059 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/1.094, allocations: 2.019 MB / 1.295 GB, free: 6.027 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003248/1.097, allocations: 2.104 MB / 1.297 GB, free: 3.922 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/1.097, allocations: 17.31 kB / 1.297 GB, free: 3.906 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.097, allocations: 43.88 kB / 1.297 GB, free: 3.852 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.476e-06/1.097, allocations: 4 kB / 1.297 GB, free: 3.848 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.3322/1.429, allocations: 76.7 MB / 1.372 GB, free: 7.023 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/1.43, allocations: 77.41 kB / 1.372 GB, free: 6.934 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.432, allocations: 1.61 MB / 1.374 GB, free: 5.324 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0005613/1.433, allocations: 65.7 kB / 1.374 GB, free: 5.254 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/1.435, allocations: 1.803 MB / 1.376 GB, free: 3.434 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.436, allocations: 0.8946 MB / 1.377 GB, free: 2.531 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/1.437, allocations: 481.4 kB / 1.377 GB, free: 2.055 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.437, allocations: 305.1 kB / 1.377 GB, free: 1.754 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004517/1.442, allocations: 2.734 MB / 1.38 GB, free: 15.02 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005298/1.447, allocations: 3.336 MB / 1.383 GB, free: 11.43 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00996/1.457, allocations: 6.389 MB / 1.389 GB, free: 4.805 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/1.457, allocations: 4 kB / 1.39 GB, free: 4.801 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03672/1.494, allocations: 14.41 MB / 1.404 GB, free: 6.34 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/1.494, allocations: 12 kB / 1.404 GB, free: 6.328 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/1.494, allocations: 16 kB / 1.404 GB, free: 6.312 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03206/1.526, allocations: 9.203 MB / 1.413 GB, free: 13.09 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.527, allocations: 303.4 kB / 1.413 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09301/1.62, allocations: 50.84 MB / 1.463 GB, free: 9.293 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.624, allocations: 231.7 kB / 1.463 GB, free: 9.066 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/1.624, allocations: 96 kB / 1.463 GB, free: 8.973 MB / 1.311 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003094/1.627, allocations: 1.578 MB / 1.464 GB, free: 7.383 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/1.628, allocations: 254.6 kB / 1.465 GB, free: 7.133 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03555/1.663, allocations: 14.48 MB / 1.479 GB, free: 8.594 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/1.663, allocations: 28.31 kB / 1.479 GB, free: 8.566 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001241/1.663, allocations: 44 kB / 1.479 GB, free: 8.523 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.673e-05/1.664, allocations: 15.89 kB / 1.479 GB, free: 8.508 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04422/1.708, allocations: 18.93 MB / 1.497 GB, free: 5.406 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/1.708, allocations: 8 kB / 1.497 GB, free: 5.398 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/1.709, allocations: 159.7 kB / 1.497 GB, free: 5.242 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03068/1.739, allocations: 8.974 MB / 1.506 GB, free: 12.24 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004974/1.74, allocations: 48 kB / 1.506 GB, free: 12.2 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08641/1.826, allocations: 50.42 MB / 1.556 GB, free: 9.129 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/1.826, allocations: 8 kB / 1.556 GB, free: 9.121 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03381/1.86, allocations: 14.09 MB / 1.569 GB, free: 10.89 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/1.862, allocations: 0.7753 MB / 1.57 GB, free: 10.11 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004848/1.863, allocations: 59.88 kB / 1.57 GB, free: 10.05 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.865, allocations: 203.7 kB / 1.57 GB, free: 9.855 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/1.866, allocations: 253.3 kB / 1.571 GB, free: 9.605 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.867, allocations: 64 kB / 1.571 GB, free: 9.543 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001574/1.868, allocations: 1.064 MB / 1.572 GB, free: 8.488 MB / 1.42 GB Notification: Performance of sort global known variables: time 1.31e-07/1.868, allocations: 0 / 1.572 GB, free: 8.488 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.0048/1.873, allocations: 1.613 MB / 1.573 GB, free: 6.875 MB / 1.42 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/1.873, allocations: 166.9 kB / 1.573 GB, free: 6.703 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.02424/1.898, allocations: 10.22 MB / 1.583 GB, free: 12.41 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.898, allocations: 0 / 1.583 GB, free: 12.41 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.0198/1.917, allocations: 6.993 MB / 1.59 GB, free: 5.34 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/1.921, allocations: 0.5276 MB / 1.591 GB, free: 4.824 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/1.939, allocations: 8.935 MB / 1.599 GB, free: 11.8 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004702/1.944, allocations: 2.677 MB / 1.602 GB, free: 9.09 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.001242/1.945, allocations: 382.8 kB / 1.602 GB, free: 8.711 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/1.945, allocations: 96.5 kB / 1.603 GB, free: 8.617 MB / 1.451 GB Notification: Performance of SimCode: time 9.92e-07/1.945, allocations: 0 / 1.603 GB, free: 8.617 MB / 1.451 GB Notification: Performance of Templates: time 0.1524/2.098, allocations: 97.41 MB / 1.698 GB, free: 7.598 MB / 1.545 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 11.841835271916352]