Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001852/0.001852, allocations: 77.94 kB / 19.76 MB, free: 2.016 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.002251/0.002251, allocations: 160.2 kB / 23.02 MB, free: 4.957 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.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.895/2.895, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [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.002154/0.002154, allocations: 67.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9141/0.9163, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01492/0.9312, allocations: 13.96 MB / 1.2 GB, free: 7.344 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.9471, allocations: 9.965 MB / 1.21 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.9493, allocations: 89.81 kB / 1.21 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004838/0.9541, allocations: 1.687 MB / 1.212 GB, free: 15.95 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.9612, allocations: 1.846 MB / 1.214 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.9641, allocations: 0.7667 MB / 1.214 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005536/0.9696, allocations: 2.756 MB / 1.217 GB, free: 13.24 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.9721, allocations: 1.19 MB / 1.218 GB, free: 12.61 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003787/0.9758, allocations: 1.725 MB / 1.22 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.9784, allocations: 1.043 MB / 1.221 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004163/0.9789, allocations: 155.5 kB / 1.221 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.981, allocations: 0.7254 MB / 1.222 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.9818, allocations: 0.6068 MB / 1.222 GB, free: 11.09 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.9833, allocations: 0.769 MB / 1.223 GB, free: 10.68 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005178/0.9884, allocations: 2.771 MB / 1.226 GB, free: 9.711 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.9884, allocations: 0 / 1.226 GB, free: 9.711 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9885, allocations: 4 kB / 1.226 GB, free: 9.707 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.49e-05/0.9885, allocations: 0.6094 kB / 1.226 GB, free: 9.707 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005549/0.9941, allocations: 2.138 MB / 1.228 GB, free: 8.402 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.9941, allocations: 9.75 kB / 1.228 GB, free: 8.402 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/1.007, allocations: 2.118 MB / 1.23 GB, free: 8.258 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00394/1.011, allocations: 1.199 MB / 1.231 GB, free: 7.566 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/1.011, allocations: 85.41 kB / 1.231 GB, free: 7.527 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/1.011, allocations: 119 kB / 1.231 GB, free: 7.484 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00778/1.019, allocations: 2.886 MB / 1.234 GB, free: 6.086 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.646e-05/1.019, allocations: 8.156 kB / 1.234 GB, free: 6.082 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/1.019, allocations: 54.05 kB / 1.234 GB, free: 6.043 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007419/1.02, allocations: 194.2 kB / 1.234 GB, free: 5.973 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008429/1.028, allocations: 2.786 MB / 1.237 GB, free: 4.562 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/1.044, allocations: 8.122 MB / 1.245 GB, free: 14.47 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006922/1.051, allocations: 2.186 MB / 1.247 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/1.054, allocations: 1.193 MB / 1.248 GB, free: 12.74 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.256e-05/1.054, allocations: 10.59 kB / 1.248 GB, free: 12.74 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/1.054, allocations: 47.61 kB / 1.248 GB, free: 12.69 MB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 3.035e-06/1.054, allocations: 1 kB / 1.248 GB, free: 12.69 MB / 1.107 GB Notification: Performance of matching and sorting (n=153): time 0.06379/1.118, allocations: 15.97 MB / 1.264 GB, free: 5.188 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/1.118, allocations: 71.5 kB / 1.264 GB, free: 5.117 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/1.12, allocations: 1.035 MB / 1.265 GB, free: 4.543 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/1.12, allocations: 52.36 kB / 1.265 GB, free: 4.492 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006199/1.121, allocations: 0.7612 MB / 1.266 GB, free: 3.812 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000602/1.121, allocations: 0.5405 MB / 1.266 GB, free: 3.332 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005907/1.122, allocations: 288.1 kB / 1.267 GB, free: 3.172 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.122, allocations: 306 kB / 1.267 GB, free: 2.871 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.126, allocations: 1.507 MB / 1.268 GB, free: 1.949 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003979/1.13, allocations: 1.784 MB / 1.27 GB, free: 72 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007937/1.138, allocations: 3.365 MB / 1.273 GB, free: 12.61 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.138, allocations: 7.938 kB / 1.273 GB, free: 12.6 MB / 1.123 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01436/1.152, allocations: 5.207 MB / 1.278 GB, free: 7.355 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.152, allocations: 8 kB / 1.278 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.152, allocations: 4 kB / 1.278 GB, free: 7.344 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007108/1.159, allocations: 1.872 MB / 1.28 GB, free: 5.449 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.161, allocations: 415.2 kB / 1.281 GB, free: 5.043 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03307/1.194, allocations: 22.85 MB / 1.303 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/1.198, allocations: 315.5 kB / 1.303 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/1.198, allocations: 67.97 kB / 1.303 GB, free: 13.01 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001035/1.199, allocations: 453.5 kB / 1.304 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/1.199, allocations: 167 kB / 1.304 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/1.214, allocations: 5.252 MB / 1.309 GB, free: 7.094 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/1.214, allocations: 16 kB / 1.309 GB, free: 7.078 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.27e-05/1.214, allocations: 20 kB / 1.309 GB, free: 7.059 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/1.214, allocations: 7.969 kB / 1.309 GB, free: 7.051 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/1.231, allocations: 6.802 MB / 1.316 GB, free: 160 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.231, allocations: 4 kB / 1.316 GB, free: 156 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.233, allocations: 355.7 kB / 1.316 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006214/1.239, allocations: 1.693 MB / 1.318 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/1.239, allocations: 47.91 kB / 1.318 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03029/1.27, allocations: 22.02 MB / 1.339 GB, free: 7.215 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.27, allocations: 7.938 kB / 1.339 GB, free: 7.207 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.283, allocations: 4.817 MB / 1.344 GB, free: 2.309 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.285, allocations: 418.7 kB / 1.344 GB, free: 1.898 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/1.285, allocations: 32 kB / 1.344 GB, free: 1.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/1.288, allocations: 319.5 kB / 1.345 GB, free: 1.555 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005389/1.288, allocations: 160.9 kB / 1.345 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.288, allocations: 51.97 kB / 1.345 GB, free: 1.344 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001042/1.289, allocations: 0.6884 MB / 1.346 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.289, allocations: 0 / 1.346 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002453/1.292, allocations: 0.6523 MB / 1.346 GB, free: 0 / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002991/1.292, allocations: 140.2 kB / 1.346 GB, free: 15.86 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01205/1.304, allocations: 4.922 MB / 1.351 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.537e-06/1.304, allocations: 4.062 kB / 1.351 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007844/1.312, allocations: 3.277 MB / 1.354 GB, free: 7.441 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/1.314, allocations: 0.5001 MB / 1.355 GB, free: 6.957 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009919/1.324, allocations: 4.359 MB / 1.359 GB, free: 2.543 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.326, allocations: 0.9838 MB / 1.36 GB, free: 1.52 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001468/1.327, allocations: 369.1 kB / 1.361 GB, free: 1.152 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/1.328, allocations: 100.4 kB / 1.361 GB, free: 1.055 MB / 1.201 GB Notification: Performance of SimCode: time 8.31e-07/1.328, allocations: 0 / 1.361 GB, free: 1.055 MB / 1.201 GB Notification: Performance of Templates: time 0.08186/1.409, allocations: 46.77 MB / 1.406 GB, free: 2.961 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.433500741957687]