Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.00193/0.00193, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002472/0.002472, allocations: 162.3 kB / 22.46 MB, free: 5.375 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.665/2.665, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.243e-05, allocations: 6.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0279/0.02792, allocations: 21.14 MB / 0.9716 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.04031, allocations: 6.127 MB / 0.9776 GB, free: 192 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.04237, allocations: 123.1 kB / 0.9777 GB, free: 68 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0049/0.04727, allocations: 1.573 MB / 0.9793 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.05206, allocations: 1.764 MB / 0.981 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.05594, allocations: 1.367 MB / 0.9823 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008018/0.06396, allocations: 6.044 MB / 0.9882 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006534/0.07049, allocations: 3.201 MB / 0.9913 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006933/0.07743, allocations: 3.446 MB / 0.9947 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004952/0.08238, allocations: 2.774 MB / 0.9974 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.08361, allocations: 460 kB / 0.9979 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.08647, allocations: 1.045 MB / 0.9989 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003212/0.08968, allocations: 2.194 MB / 1.001 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003303/0.09298, allocations: 1.505 MB / 1.002 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009645/0.1026, allocations: 7.425 MB / 1.01 GB, free: 15.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1026, allocations: 0 / 1.01 GB, free: 15.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1026, allocations: 4 kB / 1.01 GB, free: 15.12 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001353/0.1028, allocations: 0 / 1.01 GB, free: 15.12 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007276/0.11, allocations: 3.802 MB / 1.013 GB, free: 11.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1101, allocations: 8.031 kB / 1.013 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006588/0.1167, allocations: 1.239 MB / 1.015 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.1216, allocations: 2.309 MB / 1.017 GB, free: 7.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.1218, allocations: 246.3 kB / 1.017 GB, free: 7.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007486/0.1225, allocations: 315.9 kB / 1.017 GB, free: 7.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/0.1346, allocations: 6.431 MB / 1.024 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.1347, allocations: 23.83 kB / 1.024 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00043/0.1352, allocations: 135.9 kB / 1.024 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006474/0.1358, allocations: 414.3 kB / 1.024 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009679/0.1455, allocations: 4.654 MB / 1.029 GB, free: 11.14 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/0.174, allocations: 18.05 MB / 1.046 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.1762, allocations: 1.369 MB / 1.048 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.1783, allocations: 1.435 MB / 1.049 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.379e-05/0.1784, allocations: 9 kB / 1.049 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.1785, allocations: 51.55 kB / 1.049 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 2.996e-06/0.1785, allocations: 0 / 1.049 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=179): time 0.1612/0.3397, allocations: 37.06 MB / 1.085 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.3398, allocations: 73.41 kB / 1.086 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.3418, allocations: 1.36 MB / 1.087 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.342, allocations: 57.7 kB / 1.087 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.3433, allocations: 1.586 MB / 1.088 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007181/0.344, allocations: 0.6312 MB / 1.089 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008057/0.3448, allocations: 379.5 kB / 1.089 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.345, allocations: 309 kB / 1.09 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/0.3478, allocations: 1.784 MB / 1.091 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003363/0.3512, allocations: 2.358 MB / 1.094 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.3577, allocations: 4.383 MB / 1.098 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3577, allocations: 4 kB / 1.098 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.4841/0.8419, allocations: 8.415 MB / 1.106 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.8419, allocations: 14.06 kB / 1.106 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-05/0.8419, allocations: 17.44 kB / 1.106 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0173/0.8592, allocations: 4.603 MB / 1.111 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.8607, allocations: 311.2 kB / 1.111 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04803/0.9087, allocations: 31.42 MB / 1.142 GB, free: 128.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.9112, allocations: 147.8 kB / 1.142 GB, free: 128.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/0.9116, allocations: 85.88 kB / 1.142 GB, free: 128.1 MB / 0.9981 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002333/0.9139, allocations: 1.335 MB / 1.143 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005268/0.9144, allocations: 199.9 kB / 1.143 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/0.9315, allocations: 8.293 MB / 1.152 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.9316, allocations: 20.77 kB / 1.152 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.613e-05/0.9316, allocations: 30.53 kB / 1.152 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/0.9317, allocations: 7.969 kB / 1.152 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/0.954, allocations: 11.64 MB / 1.163 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/0.9541, allocations: 7.438 kB / 1.163 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.9548, allocations: 163.2 kB / 1.163 GB, free: 116.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01415/0.969, allocations: 4.472 MB / 1.168 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/0.9692, allocations: 34.31 kB / 1.168 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03812/1.007, allocations: 31.04 MB / 1.198 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.007, allocations: 7.938 kB / 1.198 GB, free: 83.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/1.023, allocations: 8.084 MB / 1.206 GB, free: 75.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/1.024, allocations: 0.548 MB / 1.206 GB, free: 74.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000336/1.024, allocations: 40 kB / 1.206 GB, free: 74.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.026, allocations: 135.8 kB / 1.206 GB, free: 74.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008048/1.027, allocations: 184.7 kB / 1.207 GB, free: 74.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.027, allocations: 52 kB / 1.207 GB, free: 74.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009574/1.028, allocations: 0.8976 MB / 1.208 GB, free: 73.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.028, allocations: 0 / 1.208 GB, free: 73.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002931/1.031, allocations: 1.113 MB / 1.209 GB, free: 72.28 MB / 0.9981 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003014/1.031, allocations: 150.9 kB / 1.209 GB, free: 72.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.042, allocations: 6.28 MB / 1.215 GB, free: 65.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.042, allocations: 7.938 kB / 1.215 GB, free: 65.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008282/1.05, allocations: 4.183 MB / 1.219 GB, free: 61.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/1.053, allocations: 0.5094 MB / 1.22 GB, free: 61.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/1.062, allocations: 6.976 MB / 1.226 GB, free: 53.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/1.064, allocations: 2.158 MB / 1.228 GB, free: 51.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008639/1.065, allocations: 379.7 kB / 1.229 GB, free: 51.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/1.065, allocations: 92.5 kB / 1.229 GB, free: 51.31 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.065, allocations: 0 / 1.229 GB, free: 51.31 MB / 0.9981 GB Notification: Performance of Templates: time 0.07668/1.142, allocations: 63.54 MB / 1.291 GB, free: 4.297 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 10.095863461494446]