Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001456/0.001456, allocations: 78.02 kB / 19.76 MB, free: 2.031 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.00252/0.00252, allocations: 156.8 kB / 23.01 MB, free: 4.945 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.57/1.57, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.732/2.732, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 176] 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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.002107/0.002107, allocations: 67.91 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4569, allocations: 169.9 MB / 1.117 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 1.016/1.473, allocations: 33.68 MB / 1.15 GB, free: 45.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01688/1.49, allocations: 10.02 MB / 1.16 GB, free: 38.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004574/1.494, allocations: 190.9 kB / 1.16 GB, free: 38.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009605/1.504, allocations: 3.828 MB / 1.164 GB, free: 36.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007354/1.511, allocations: 2.143 MB / 1.166 GB, free: 35.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0057/1.517, allocations: 1.977 MB / 1.168 GB, free: 33.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01072/1.528, allocations: 7.97 MB / 1.176 GB, free: 30.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009983/1.538, allocations: 5.221 MB / 1.181 GB, free: 27.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007899/1.545, allocations: 3.493 MB / 1.184 GB, free: 26.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009799/1.555, allocations: 3.699 MB / 1.188 GB, free: 24.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003487/1.559, allocations: 0.6788 MB / 1.189 GB, free: 24.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006906/1.566, allocations: 1.353 MB / 1.19 GB, free: 24.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006463/1.572, allocations: 2.685 MB / 1.193 GB, free: 23.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01034/1.582, allocations: 2.509 MB / 1.195 GB, free: 21.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02385/1.606, allocations: 10.46 MB / 1.205 GB, free: 18.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/1.606, allocations: 1.281 kB / 1.205 GB, free: 18.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.304e-06/1.606, allocations: 4 kB / 1.205 GB, free: 18.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005512/1.607, allocations: 0 / 1.205 GB, free: 18.58 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02635/1.633, allocations: 5.465 MB / 1.211 GB, free: 15.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/1.633, allocations: 10.16 kB / 1.211 GB, free: 15.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008299/1.642, allocations: 1.004 MB / 1.212 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/1.653, allocations: 3.135 MB / 1.215 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/1.654, allocations: 356.6 kB / 1.215 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002822/1.657, allocations: 473.6 kB / 1.215 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02446/1.681, allocations: 8.662 MB / 1.224 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/1.681, allocations: 21.31 kB / 1.224 GB, free: 8.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007222/1.682, allocations: 208.2 kB / 1.224 GB, free: 8.777 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006557/1.683, allocations: 368.5 kB / 1.224 GB, free: 8.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/1.699, allocations: 5.93 MB / 1.23 GB, free: 6.645 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04802/1.747, allocations: 22.96 MB / 1.253 GB, free: 5.855 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/1.751, allocations: 1.993 MB / 1.255 GB, free: 4.812 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002262/1.753, allocations: 1.33 MB / 1.256 GB, free: 4.156 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/1.754, allocations: 20.2 kB / 1.256 GB, free: 4.148 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/1.754, allocations: 56.61 kB / 1.256 GB, free: 4.094 MB / 1.092 GB Notification: Performance of pre-optimization done (n=157): time 4.96e-06/1.754, allocations: 4 kB / 1.256 GB, free: 4.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=160): time 0.01715/1.771, allocations: 6.645 MB / 1.263 GB, free: 312 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.771, allocations: 71.31 kB / 1.263 GB, free: 244 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/1.774, allocations: 1.707 MB / 1.264 GB, free: 15.26 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/1.774, allocations: 53.61 kB / 1.264 GB, free: 15.21 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.776, allocations: 2.2 MB / 1.266 GB, free: 13.28 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007141/1.777, allocations: 0.5833 MB / 1.267 GB, free: 12.76 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000755/1.778, allocations: 401.4 kB / 1.267 GB, free: 12.54 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.778, allocations: 306.4 kB / 1.268 GB, free: 12.23 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.78, allocations: 1.062 MB / 1.269 GB, free: 11.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/1.782, allocations: 1.756 MB / 1.27 GB, free: 10.21 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/1.787, allocations: 3.055 MB / 1.273 GB, free: 8.031 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/1.787, allocations: 6.594 kB / 1.273 GB, free: 8.031 MB / 1.107 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007335/1.794, allocations: 3.888 MB / 1.277 GB, free: 5.246 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/1.794, allocations: 16 kB / 1.277 GB, free: 5.23 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/1.794, allocations: 23.98 kB / 1.277 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/1.797, allocations: 0.9244 MB / 1.278 GB, free: 4.246 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/1.798, allocations: 430.7 kB / 1.279 GB, free: 3.828 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0246/1.823, allocations: 21.12 MB / 1.299 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/1.826, allocations: 127.8 kB / 1.299 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/1.827, allocations: 92 kB / 1.299 GB, free: 13.27 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005172/1.832, allocations: 1.648 MB / 1.301 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008533/1.833, allocations: 246.5 kB / 1.301 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006501/1.839, allocations: 3.229 MB / 1.304 GB, free: 8.094 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.839, allocations: 16 kB / 1.304 GB, free: 8.078 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/1.839, allocations: 8 kB / 1.304 GB, free: 8.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.839, allocations: 7.969 kB / 1.304 GB, free: 8.062 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/1.854, allocations: 6.449 MB / 1.311 GB, free: 1.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.854, allocations: 8 kB / 1.311 GB, free: 1.473 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.855, allocations: 215.6 kB / 1.311 GB, free: 1.262 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002528/1.857, allocations: 0.8969 MB / 1.312 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.857, allocations: 32 kB / 1.312 GB, free: 304 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02483/1.882, allocations: 21.08 MB / 1.332 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/1.882, allocations: 7.938 kB / 1.332 GB, free: 9.977 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007239/1.889, allocations: 3.344 MB / 1.336 GB, free: 6.52 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/1.892, allocations: 446.3 kB / 1.336 GB, free: 6.082 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/1.892, allocations: 35.95 kB / 1.336 GB, free: 6.047 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/1.893, allocations: 95.88 kB / 1.336 GB, free: 5.953 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005192/1.894, allocations: 148.9 kB / 1.336 GB, free: 5.805 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.894, allocations: 44 kB / 1.336 GB, free: 5.762 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001926/1.896, allocations: 1.09 MB / 1.338 GB, free: 4.652 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.896, allocations: 0 / 1.338 GB, free: 4.652 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004471/1.9, allocations: 0.8984 MB / 1.338 GB, free: 3.754 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003751/1.901, allocations: 162.2 kB / 1.339 GB, free: 3.59 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007761/1.908, allocations: 4.291 MB / 1.343 GB, free: 15.14 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.908, allocations: 7.906 kB / 1.343 GB, free: 15.14 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004763/1.913, allocations: 2.899 MB / 1.346 GB, free: 12.08 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/1.917, allocations: 0.7689 MB / 1.346 GB, free: 11.33 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/1.934, allocations: 7.81 MB / 1.354 GB, free: 3.426 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00426/1.938, allocations: 2.661 MB / 1.357 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002076/1.94, allocations: 0.5083 MB / 1.357 GB, free: 224 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/1.941, allocations: 136.5 kB / 1.357 GB, free: 88 kB / 1.186 GB Notification: Performance of SimCode: time 1.283e-06/1.941, allocations: 0 / 1.357 GB, free: 88 kB / 1.186 GB Notification: Performance of Templates: time 0.085/2.026, allocations: 42.49 MB / 1.399 GB, free: 6.535 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 11.87911478895694]