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.001869/0.001869, 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.002267/0.002267, allocations: 220.4 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.348/3.348, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 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.00212/0.00212, allocations: 67.8 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3832, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02985/0.413, allocations: 22.25 MB / 1.386 GB, free: 7.285 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.4261, allocations: 6.45 MB / 1.393 GB, free: 0.8164 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.4285, allocations: 127.1 kB / 1.393 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004548/0.4331, allocations: 1.514 MB / 1.394 GB, free: 15.17 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.4381, allocations: 1.941 MB / 1.396 GB, free: 13.22 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.4422, allocations: 1.46 MB / 1.398 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008971/0.4512, allocations: 6.905 MB / 1.404 GB, free: 4.844 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006335/0.4575, allocations: 3.726 MB / 1.408 GB, free: 1.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/0.4627, allocations: 2.933 MB / 1.411 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006681/0.4694, allocations: 3.571 MB / 1.414 GB, free: 10.5 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002564/0.4719, allocations: 0.5234 MB / 1.415 GB, free: 9.973 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004967/0.4769, allocations: 1.108 MB / 1.416 GB, free: 8.863 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005453/0.4823, allocations: 2.533 MB / 1.418 GB, free: 6.324 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004891/0.4872, allocations: 2.058 MB / 1.42 GB, free: 4.258 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.498, allocations: 8.585 MB / 1.429 GB, free: 11.64 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.498, allocations: 0 / 1.429 GB, free: 11.64 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.605e-06/0.498, allocations: 0 / 1.429 GB, free: 11.64 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002918/0.4983, allocations: 4 kB / 1.429 GB, free: 11.64 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.01175/0.51, allocations: 4.472 MB / 1.433 GB, free: 7.113 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.5101, allocations: 8.031 kB / 1.433 GB, free: 7.105 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008601/0.5187, allocations: 1.695 MB / 1.435 GB, free: 5.406 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006508/0.5252, allocations: 2.68 MB / 1.437 GB, free: 2.684 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.5255, allocations: 271.7 kB / 1.438 GB, free: 2.418 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/0.5268, allocations: 360.3 kB / 1.438 GB, free: 2.066 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.5411, allocations: 7.717 MB / 1.446 GB, free: 10.03 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.01e-05/0.5412, allocations: 19.88 kB / 1.446 GB, free: 10.01 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.5416, allocations: 155.9 kB / 1.446 GB, free: 9.855 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000619/0.5422, allocations: 487.3 kB / 1.446 GB, free: 9.379 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.5531, allocations: 5.689 MB / 1.452 GB, free: 3.684 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/0.5898, allocations: 19.95 MB / 1.471 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/0.5932, allocations: 2.019 MB / 1.473 GB, free: 13.25 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003378/0.5965, allocations: 2.1 MB / 1.475 GB, free: 11.15 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.5968, allocations: 17.3 kB / 1.475 GB, free: 11.13 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.5968, allocations: 59.8 kB / 1.475 GB, free: 11.06 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 4.408e-06/0.5968, allocations: 4 kB / 1.475 GB, free: 11.06 MB / 1.17 GB Notification: Performance of matching and sorting (n=251): time 0.3147/0.9115, allocations: 76.7 MB / 1.55 GB, free: 14.22 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.9116, allocations: 77.41 kB / 1.55 GB, free: 14.13 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.9142, allocations: 1.614 MB / 1.552 GB, free: 12.52 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0006578/0.9149, allocations: 65.7 kB / 1.552 GB, free: 12.45 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.9165, allocations: 1.799 MB / 1.554 GB, free: 10.63 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/0.9179, allocations: 0.8946 MB / 1.555 GB, free: 9.73 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.9189, allocations: 481.4 kB / 1.555 GB, free: 9.254 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.9191, allocations: 313.1 kB / 1.555 GB, free: 8.945 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/0.9233, allocations: 2.73 MB / 1.558 GB, free: 6.211 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.928, allocations: 3.336 MB / 1.561 GB, free: 2.629 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00939/0.9374, allocations: 6.389 MB / 1.568 GB, free: 12 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.9374, allocations: 8 kB / 1.568 GB, free: 11.99 MB / 1.264 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03588/0.9733, allocations: 14.4 MB / 1.582 GB, free: 13.54 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.9733, allocations: 12.97 kB / 1.582 GB, free: 13.53 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.9733, allocations: 16 kB / 1.582 GB, free: 13.51 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03149/1.005, allocations: 9.203 MB / 1.591 GB, free: 4.285 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.006, allocations: 303.4 kB / 1.591 GB, free: 3.988 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8959/1.902, allocations: 50.83 MB / 1.641 GB, free: 210.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/1.905, allocations: 220.9 kB / 1.641 GB, free: 210.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004146/1.906, allocations: 107.2 kB / 1.641 GB, free: 210.1 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.003009/1.909, allocations: 1.581 MB / 1.642 GB, free: 209.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007415/1.909, allocations: 253.4 kB / 1.643 GB, free: 209.5 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.031/1.94, allocations: 14.48 MB / 1.657 GB, free: 205.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/1.94, allocations: 27.53 kB / 1.657 GB, free: 205.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001654/1.941, allocations: 43.28 kB / 1.657 GB, free: 205.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/1.941, allocations: 16.44 kB / 1.657 GB, free: 205.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0368/1.977, allocations: 18.92 MB / 1.675 GB, free: 198.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/1.977, allocations: 8 kB / 1.675 GB, free: 198.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/1.978, allocations: 175.9 kB / 1.675 GB, free: 198.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02582/2.004, allocations: 8.964 MB / 1.684 GB, free: 190.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005/2.004, allocations: 47.98 kB / 1.684 GB, free: 190.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06419/2.069, allocations: 50.41 MB / 1.734 GB, free: 139.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/2.069, allocations: 12.05 kB / 1.734 GB, free: 139.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02721/2.096, allocations: 14.09 MB / 1.747 GB, free: 125.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/2.099, allocations: 0.7737 MB / 1.748 GB, free: 124.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/2.099, allocations: 51.98 kB / 1.748 GB, free: 124.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/2.101, allocations: 207.7 kB / 1.748 GB, free: 124.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/2.103, allocations: 257.3 kB / 1.749 GB, free: 124.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/2.103, allocations: 67.98 kB / 1.749 GB, free: 124.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001187/2.104, allocations: 1.06 MB / 1.75 GB, free: 123.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/2.104, allocations: 0 / 1.75 GB, free: 123.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004434/2.108, allocations: 1.613 MB / 1.751 GB, free: 121.5 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.0003823/2.109, allocations: 165.7 kB / 1.751 GB, free: 121.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01976/2.129, allocations: 10.2 MB / 1.761 GB, free: 111.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/2.129, allocations: 0 / 1.761 GB, free: 111.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01581/2.144, allocations: 7.023 MB / 1.768 GB, free: 104 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/2.147, allocations: 0.5349 MB / 1.769 GB, free: 103.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/2.161, allocations: 9.542 MB / 1.778 GB, free: 93.92 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003711/2.165, allocations: 2.751 MB / 1.781 GB, free: 91.13 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/2.166, allocations: 103.4 kB / 1.781 GB, free: 91.03 MB / 1.295 GB Notification: Performance of SimCode: time 1.894e-06/2.166, allocations: 0 / 1.781 GB, free: 91.03 MB / 1.295 GB Notification: Performance of Templates: time 0.1923/2.358, allocations: 189.3 MB / 1.966 GB, free: 13.64 MB / 1.404 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/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: 22.98059172881767]