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.001413/0.001413, 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.001606/0.001606, allocations: 210.5 kB / 22.24 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.758 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.522/3.522, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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_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.003568/0.003568, allocations: 75.38 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3907, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02996/0.4206, allocations: 22.26 MB / 1.386 GB, free: 7.211 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.4336, allocations: 6.45 MB / 1.392 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.4354, allocations: 131 kB / 1.392 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004068/0.4395, allocations: 1.505 MB / 1.393 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.4438, allocations: 1.945 MB / 1.395 GB, free: 13.15 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.4473, allocations: 1.461 MB / 1.397 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008193/0.4555, allocations: 6.912 MB / 1.404 GB, free: 4.762 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/0.4616, allocations: 3.723 MB / 1.407 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004475/0.4661, allocations: 2.929 MB / 1.41 GB, free: 14 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005459/0.4715, allocations: 3.567 MB / 1.414 GB, free: 10.43 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.4726, allocations: 0.5273 MB / 1.414 GB, free: 9.898 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.4752, allocations: 1.108 MB / 1.415 GB, free: 8.789 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002961/0.4782, allocations: 2.529 MB / 1.418 GB, free: 6.254 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.4814, allocations: 2.054 MB / 1.42 GB, free: 4.191 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4931, allocations: 8.589 MB / 1.428 GB, free: 11.57 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.4931, allocations: 4 kB / 1.428 GB, free: 11.57 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4931, allocations: 0 / 1.428 GB, free: 11.57 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002681/0.4934, allocations: 0 / 1.428 GB, free: 11.57 MB / 1.123 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.01127/0.5047, allocations: 4.468 MB / 1.432 GB, free: 7.047 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5047, allocations: 12.03 kB / 1.432 GB, free: 7.035 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008803/0.5135, allocations: 1.695 MB / 1.434 GB, free: 5.336 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007041/0.5206, allocations: 2.676 MB / 1.437 GB, free: 2.617 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.5208, allocations: 279.6 kB / 1.437 GB, free: 2.344 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.522, allocations: 360.3 kB / 1.437 GB, free: 1.992 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.5366, allocations: 7.717 MB / 1.445 GB, free: 9.953 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.035e-05/0.5367, allocations: 11.94 kB / 1.445 GB, free: 9.941 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004996/0.5372, allocations: 159.9 kB / 1.445 GB, free: 9.785 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006196/0.5379, allocations: 491.3 kB / 1.445 GB, free: 9.305 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.5483, allocations: 5.693 MB / 1.451 GB, free: 3.605 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03425/0.5826, allocations: 19.94 MB / 1.47 GB, free: 15.2 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.5858, allocations: 2.023 MB / 1.472 GB, free: 13.17 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/0.5892, allocations: 2.108 MB / 1.474 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.5893, allocations: 17.31 kB / 1.475 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.5894, allocations: 47.88 kB / 1.475 GB, free: 10.99 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.557e-06/0.5894, allocations: 0 / 1.475 GB, free: 10.99 MB / 1.17 GB Notification: Performance of matching and sorting (n=251): time 0.3219/0.9113, allocations: 76.71 MB / 1.549 GB, free: 14.15 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.9114, allocations: 77.41 kB / 1.55 GB, free: 14.06 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.9138, allocations: 1.614 MB / 1.551 GB, free: 12.45 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004365/0.9142, allocations: 65.7 kB / 1.551 GB, free: 12.38 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.9158, allocations: 1.803 MB / 1.553 GB, free: 10.56 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.9168, allocations: 0.8946 MB / 1.554 GB, free: 9.656 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.9178, allocations: 481.4 kB / 1.554 GB, free: 9.18 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.918, allocations: 309.1 kB / 1.555 GB, free: 8.875 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/0.9222, allocations: 2.734 MB / 1.557 GB, free: 6.137 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004862/0.927, allocations: 3.332 MB / 1.56 GB, free: 2.555 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009401/0.9364, allocations: 6.393 MB / 1.567 GB, free: 11.92 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.9365, allocations: 4 kB / 1.567 GB, free: 11.92 MB / 1.264 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03507/0.9715, allocations: 14.4 MB / 1.581 GB, free: 13.47 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.9716, allocations: 12 kB / 1.581 GB, free: 13.46 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.9716, allocations: 20 kB / 1.581 GB, free: 13.44 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03144/1.003, allocations: 9.2 MB / 1.59 GB, free: 4.215 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.004, allocations: 303.4 kB / 1.59 GB, free: 3.918 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7511/1.755, allocations: 50.84 MB / 1.64 GB, free: 210.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/1.758, allocations: 219.9 kB / 1.64 GB, free: 210.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/1.759, allocations: 102.8 kB / 1.64 GB, free: 210.2 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 (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.002536/1.761, allocations: 1.587 MB / 1.642 GB, free: 209.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/1.762, allocations: 245.7 kB / 1.642 GB, free: 209.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0314/1.793, allocations: 14.49 MB / 1.656 GB, free: 205.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.793, allocations: 23.47 kB / 1.656 GB, free: 205.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001529/1.793, allocations: 43.22 kB / 1.656 GB, free: 205.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.186e-05/1.793, allocations: 11.39 kB / 1.656 GB, free: 205.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.036/1.829, allocations: 18.93 MB / 1.675 GB, free: 198.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.829, allocations: 7.688 kB / 1.675 GB, free: 198.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/1.83, allocations: 158.7 kB / 1.675 GB, free: 198.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02618/1.856, allocations: 8.969 MB / 1.683 GB, free: 190.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004204/1.857, allocations: 48 kB / 1.684 GB, free: 190.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06481/1.922, allocations: 50.41 MB / 1.733 GB, free: 139.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.922, allocations: 11.88 kB / 1.733 GB, free: 139.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02801/1.95, allocations: 14.1 MB / 1.747 GB, free: 125.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/1.952, allocations: 0.7728 MB / 1.747 GB, free: 124.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000653/1.953, allocations: 48.11 kB / 1.747 GB, free: 124.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.955, allocations: 215.6 kB / 1.748 GB, free: 124.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/1.956, allocations: 253.3 kB / 1.748 GB, free: 124.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/1.956, allocations: 65.5 kB / 1.748 GB, free: 124 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001162/1.957, allocations: 1.064 MB / 1.749 GB, free: 123 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.957, allocations: 0 / 1.749 GB, free: 123 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004349/1.962, allocations: 1.617 MB / 1.75 GB, free: 121.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 (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.0004394/1.962, allocations: 155.4 kB / 1.751 GB, free: 121.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02069/1.983, allocations: 10.2 MB / 1.761 GB, free: 110.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.983, allocations: 4.312 kB / 1.761 GB, free: 110.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01597/1.999, allocations: 7.016 MB / 1.767 GB, free: 103.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/2.002, allocations: 0.5396 MB / 1.768 GB, free: 103.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/2.014, allocations: 8.916 MB / 1.777 GB, free: 94.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/2.016, allocations: 2.677 MB / 1.779 GB, free: 91.68 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009274/2.017, allocations: 382.8 kB / 1.78 GB, free: 91.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/2.017, allocations: 95.42 kB / 1.78 GB, free: 91.21 MB / 1.295 GB Notification: Performance of SimCode: time 8.62e-07/2.017, allocations: 0 / 1.78 GB, free: 91.21 MB / 1.295 GB Notification: Performance of Templates: time 0.1132/2.131, allocations: 102 MB / 1.879 GB, free: 5.641 MB / 1.311 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 -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/jenkins/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: 12.764693481847644]