Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001582/0.001582, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001805/0.001805, allocations: 210.9 kB / 23.03 MB, free: 4.867 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002035/0.002035, allocations: 67.05 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4188, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02928/0.4481, allocations: 22.24 MB / 1.349 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.4611, allocations: 6.45 MB / 1.355 GB, free: 4.156 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.4637, allocations: 127.1 kB / 1.355 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004811/0.4686, allocations: 1.512 MB / 1.357 GB, free: 2.516 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005555/0.4741, allocations: 1.941 MB / 1.359 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.4785, allocations: 1.464 MB / 1.36 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009764/0.4882, allocations: 6.912 MB / 1.367 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006896/0.4951, allocations: 3.722 MB / 1.37 GB, free: 4.344 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/0.5007, allocations: 2.937 MB / 1.373 GB, free: 1.398 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006925/0.5077, allocations: 3.559 MB / 1.377 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.5093, allocations: 0.5273 MB / 1.377 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.5126, allocations: 1.112 MB / 1.378 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003815/0.5164, allocations: 2.529 MB / 1.381 GB, free: 9.652 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004724/0.5212, allocations: 2.05 MB / 1.383 GB, free: 7.594 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.5329, allocations: 8.589 MB / 1.391 GB, free: 14.98 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.5329, allocations: 0 / 1.391 GB, free: 14.98 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5329, allocations: 0 / 1.391 GB, free: 14.98 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002765/0.5332, allocations: 0 / 1.391 GB, free: 14.98 MB / 1.092 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.01264/0.5458, allocations: 4.475 MB / 1.396 GB, free: 10.45 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.5459, allocations: 8.031 kB / 1.396 GB, free: 10.44 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009528/0.5554, allocations: 1.707 MB / 1.397 GB, free: 8.727 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006873/0.5623, allocations: 2.668 MB / 1.4 GB, free: 6.016 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.5626, allocations: 287.6 kB / 1.4 GB, free: 5.734 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/0.5641, allocations: 360.2 kB / 1.401 GB, free: 5.383 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.5803, allocations: 7.72 MB / 1.408 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.5804, allocations: 15.89 kB / 1.408 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005722/0.581, allocations: 155.9 kB / 1.408 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000658/0.5817, allocations: 491.3 kB / 1.409 GB, free: 12.69 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.5934, allocations: 5.693 MB / 1.414 GB, free: 6.992 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03542/0.6288, allocations: 19.95 MB / 1.434 GB, free: 2.582 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.632, allocations: 2.019 MB / 1.436 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.6352, allocations: 2.104 MB / 1.438 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.6354, allocations: 17.31 kB / 1.438 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/0.6354, allocations: 51.88 kB / 1.438 GB, free: 14.37 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 4.408e-06/0.6354, allocations: 0 / 1.438 GB, free: 14.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.3038/0.9393, allocations: 76.7 MB / 1.513 GB, free: 1.543 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.9393, allocations: 77.41 kB / 1.513 GB, free: 1.453 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.9418, allocations: 1.61 MB / 1.514 GB, free: 15.84 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004938/0.9423, allocations: 65.7 kB / 1.514 GB, free: 15.77 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.9437, allocations: 1.799 MB / 1.516 GB, free: 13.96 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.9448, allocations: 0.8946 MB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.9458, allocations: 493.4 kB / 1.518 GB, free: 12.57 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.946, allocations: 317 kB / 1.518 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004206/0.9502, allocations: 2.726 MB / 1.521 GB, free: 9.523 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/0.9553, allocations: 3.332 MB / 1.524 GB, free: 5.945 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009994/0.9653, allocations: 6.397 MB / 1.53 GB, free: 15.3 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/0.9653, allocations: 4 kB / 1.53 GB, free: 15.3 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03434/0.9997, allocations: 14.39 MB / 1.544 GB, free: 0.8594 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.9997, allocations: 16.03 kB / 1.544 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/0.9997, allocations: 20 kB / 1.544 GB, free: 0.8242 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02958/1.029, allocations: 9.203 MB / 1.553 GB, free: 7.594 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.031, allocations: 295.5 kB / 1.553 GB, free: 7.305 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08536/1.116, allocations: 50.85 MB / 1.603 GB, free: 3.797 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/1.119, allocations: 219.7 kB / 1.603 GB, free: 3.582 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004208/1.12, allocations: 96 kB / 1.603 GB, free: 3.488 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.003102/1.123, allocations: 1.594 MB / 1.605 GB, free: 1.883 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006745/1.123, allocations: 243 kB / 1.605 GB, free: 1.645 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9722/2.096, allocations: 14.47 MB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-05/2.096, allocations: 26.5 kB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002755/2.096, allocations: 46.67 kB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.255e-05/2.096, allocations: 15.56 kB / 1.619 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0411/2.137, allocations: 18.93 MB / 1.638 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/2.137, allocations: 7.828 kB / 1.638 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/2.138, allocations: 165.6 kB / 1.638 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02621/2.164, allocations: 8.972 MB / 1.647 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000665/2.165, allocations: 50.78 kB / 1.647 GB, free: 249.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06251/2.227, allocations: 50.42 MB / 1.696 GB, free: 204.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/2.227, allocations: 11.94 kB / 1.696 GB, free: 204.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02665/2.254, allocations: 14.08 MB / 1.71 GB, free: 190.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/2.256, allocations: 0.7767 MB / 1.711 GB, free: 189.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/2.257, allocations: 48 kB / 1.711 GB, free: 189.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/2.259, allocations: 207.7 kB / 1.711 GB, free: 189.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001359/2.26, allocations: 253.3 kB / 1.711 GB, free: 189 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/2.26, allocations: 64 kB / 1.711 GB, free: 189 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001207/2.262, allocations: 1.064 MB / 1.712 GB, free: 187.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/2.262, allocations: 0 / 1.712 GB, free: 187.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004664/2.266, allocations: 1.613 MB / 1.714 GB, free: 186.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.0003676/2.267, allocations: 165.5 kB / 1.714 GB, free: 186.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01842/2.285, allocations: 10.2 MB / 1.724 GB, free: 175.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-05/2.285, allocations: 4 kB / 1.724 GB, free: 175.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01481/2.3, allocations: 7.018 MB / 1.731 GB, free: 168.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/2.303, allocations: 0.5422 MB / 1.731 GB, free: 168.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/2.316, allocations: 9.545 MB / 1.741 GB, free: 158.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/2.319, allocations: 2.751 MB / 1.743 GB, free: 155.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/2.32, allocations: 103.4 kB / 1.743 GB, free: 155.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.432e-06/2.32, allocations: 0 / 1.743 GB, free: 155.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1593/2.479, allocations: 189.3 MB / 1.928 GB, free: 14.44 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.145954402163625]