Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001363/0.001363, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001544/0.001544, allocations: 220 kB / 23.01 MB, free: 4.609 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002051/0.002051, allocations: 67.81 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3804, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02935/0.4098, allocations: 24.46 MB / 1.309 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.4224, allocations: 6.706 MB / 1.315 GB, free: 11.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.4249, allocations: 127.1 kB / 1.315 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004512/0.4294, allocations: 1.566 MB / 1.317 GB, free: 10.28 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005451/0.4349, allocations: 1.941 MB / 1.319 GB, free: 8.328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.439, allocations: 1.5 MB / 1.32 GB, free: 6.828 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009558/0.4485, allocations: 6.909 MB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006616/0.4552, allocations: 3.772 MB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005363/0.4605, allocations: 2.917 MB / 1.333 GB, free: 9.109 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006757/0.4673, allocations: 3.739 MB / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001583/0.4689, allocations: 0.5273 MB / 1.338 GB, free: 4.832 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.4722, allocations: 1.202 MB / 1.339 GB, free: 3.629 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003518/0.4757, allocations: 2.529 MB / 1.341 GB, free: 1.094 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004881/0.4806, allocations: 2.536 MB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.4923, allocations: 8.542 MB / 1.352 GB, free: 5.977 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.4923, allocations: 0 / 1.352 GB, free: 5.977 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4923, allocations: 0 / 1.352 GB, free: 5.977 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002688/0.4926, allocations: 4 kB / 1.352 GB, free: 5.973 MB / 1.045 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.01099/0.5035, allocations: 4.472 MB / 1.356 GB, free: 1.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5036, allocations: 8.031 kB / 1.356 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008347/0.5119, allocations: 1.699 MB / 1.358 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/0.5186, allocations: 2.668 MB / 1.361 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.5188, allocations: 279.7 kB / 1.361 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.5201, allocations: 356.3 kB / 1.361 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.5353, allocations: 7.487 MB / 1.369 GB, free: 4.645 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.5354, allocations: 19.81 kB / 1.369 GB, free: 4.625 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004572/0.5358, allocations: 159.9 kB / 1.369 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005985/0.5364, allocations: 483.4 kB / 1.369 GB, free: 3.996 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.5481, allocations: 5.701 MB / 1.375 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04221/0.5904, allocations: 31.27 MB / 1.405 GB, free: 12.24 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.5934, allocations: 2.023 MB / 1.407 GB, free: 10.21 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/0.5966, allocations: 2.108 MB / 1.409 GB, free: 8.094 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.5968, allocations: 13.31 kB / 1.409 GB, free: 8.082 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.5968, allocations: 55.88 kB / 1.409 GB, free: 8.016 MB / 1.108 GB Notification: Performance of pre-optimization done (n=146): time 3.577e-06/0.5968, allocations: 0 / 1.409 GB, free: 8.016 MB / 1.108 GB Notification: Performance of matching and sorting (n=251): time 0.2786/0.8754, allocations: 76.71 MB / 1.484 GB, free: 11.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.8755, allocations: 77.41 kB / 1.484 GB, free: 11.09 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.8782, allocations: 1.666 MB / 1.486 GB, free: 9.375 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005605/0.8788, allocations: 69.69 kB / 1.486 GB, free: 9.301 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.8803, allocations: 1.803 MB / 1.488 GB, free: 7.48 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.8815, allocations: 0.8868 MB / 1.489 GB, free: 6.586 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.8825, allocations: 485.4 kB / 1.489 GB, free: 6.105 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8827, allocations: 305.1 kB / 1.489 GB, free: 5.805 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/0.8867, allocations: 2.726 MB / 1.492 GB, free: 3.074 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004558/0.8913, allocations: 3.332 MB / 1.495 GB, free: 15.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009115/0.9004, allocations: 6.401 MB / 1.502 GB, free: 8.859 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.9004, allocations: 8 kB / 1.502 GB, free: 8.852 MB / 1.201 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03321/0.9336, allocations: 14.41 MB / 1.516 GB, free: 10.39 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.9337, allocations: 12 kB / 1.516 GB, free: 10.38 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.173e-05/0.9337, allocations: 20 kB / 1.516 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03016/0.9639, allocations: 9.241 MB / 1.525 GB, free: 1.098 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.9653, allocations: 299.5 kB / 1.525 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08427/1.05, allocations: 51.77 MB / 1.576 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/1.053, allocations: 223.6 kB / 1.576 GB, free: 12.07 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/1.054, allocations: 100 kB / 1.576 GB, free: 11.98 MB / 1.279 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.004004/1.058, allocations: 1.588 MB / 1.577 GB, free: 10.38 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007282/1.058, allocations: 258.5 kB / 1.578 GB, free: 10.12 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03318/1.091, allocations: 14.47 MB / 1.592 GB, free: 11.59 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/1.091, allocations: 24 kB / 1.592 GB, free: 11.57 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000154/1.092, allocations: 44 kB / 1.592 GB, free: 11.52 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-05/1.092, allocations: 15.95 kB / 1.592 GB, free: 11.51 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9199/2.012, allocations: 20.21 MB / 1.612 GB, free: 289.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-05/2.012, allocations: 13.81 kB / 1.612 GB, free: 289.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/2.013, allocations: 160.5 kB / 1.612 GB, free: 289.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02833/2.041, allocations: 9.005 MB / 1.621 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005513/2.042, allocations: 51 kB / 1.621 GB, free: 289.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.064/2.106, allocations: 51.34 MB / 1.671 GB, free: 259 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/2.106, allocations: 11.92 kB / 1.671 GB, free: 259 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02578/2.131, allocations: 14.09 MB / 1.685 GB, free: 244.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/2.134, allocations: 0.7843 MB / 1.685 GB, free: 244 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000524/2.134, allocations: 51.98 kB / 1.685 GB, free: 243.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/2.136, allocations: 203.7 kB / 1.686 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/2.137, allocations: 258.2 kB / 1.686 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/2.138, allocations: 60 kB / 1.686 GB, free: 243.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001258/2.139, allocations: 1.133 MB / 1.687 GB, free: 242.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.139, allocations: 0 / 1.687 GB, free: 242.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004502/2.143, allocations: 1.609 MB / 1.689 GB, free: 240.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 {(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.0004233/2.144, allocations: 167.1 kB / 1.689 GB, free: 240.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0184/2.162, allocations: 10.2 MB / 1.699 GB, free: 230.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.162, allocations: 4 kB / 1.699 GB, free: 230.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01471/2.177, allocations: 7.02 MB / 1.706 GB, free: 223.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/2.18, allocations: 0.5602 MB / 1.706 GB, free: 222.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/2.194, allocations: 9.543 MB / 1.715 GB, free: 213 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/2.197, allocations: 3.298 MB / 1.719 GB, free: 209.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/2.198, allocations: 111.4 kB / 1.719 GB, free: 209.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.183e-06/2.198, allocations: 0 / 1.719 GB, free: 209.6 MB / 1.295 GB Notification: Performance of Templates: time 0.1481/2.346, allocations: 188 MB / 1.902 GB, free: 21.45 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.69196834502509]