Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.002091/0.002091, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002575/0.002575, allocations: 213.7 kB / 22.25 MB, free: 4.855 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.797 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 3.098/3.098, allocations: 475.9 MB / 0.7699 GB, free: 4.781 MB / 0.6231 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.002053/0.002053, allocations: 71.14 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04036/0.3347, allocations: 31.52 MB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.3532, allocations: 10.3 MB / 1.324 GB, free: 2.012 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.3561, allocations: 190.6 kB / 1.324 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.3662, allocations: 3.735 MB / 1.328 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0057/0.3719, allocations: 1.952 MB / 1.33 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005805/0.3777, allocations: 2.134 MB / 1.332 GB, free: 9.988 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009687/0.3874, allocations: 7.33 MB / 1.339 GB, free: 2.637 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007964/0.3953, allocations: 5.1 MB / 1.344 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005357/0.4007, allocations: 3.283 MB / 1.347 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005824/0.4065, allocations: 3.457 MB / 1.35 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.4077, allocations: 0.6445 MB / 1.351 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/0.4114, allocations: 1.654 MB / 1.353 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003333/0.4147, allocations: 2.607 MB / 1.355 GB, free: 1.738 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004024/0.4188, allocations: 2.346 MB / 1.357 GB, free: 15.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4312, allocations: 10.18 MB / 1.367 GB, free: 5.168 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4312, allocations: 0 / 1.367 GB, free: 5.168 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4312, allocations: 4 kB / 1.367 GB, free: 5.164 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002547/0.4314, allocations: 0 / 1.367 GB, free: 5.164 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01163/0.4431, allocations: 5.041 MB / 1.372 GB, free: 64 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4431, allocations: 12.03 kB / 1.372 GB, free: 52 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/0.4488, allocations: 0.977 MB / 1.373 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007762/0.4566, allocations: 3.011 MB / 1.376 GB, free: 11.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003616/0.4569, allocations: 345.7 kB / 1.377 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.4583, allocations: 460.3 kB / 1.377 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/0.4751, allocations: 7.972 MB / 1.385 GB, free: 2.809 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.4753, allocations: 23.83 kB / 1.385 GB, free: 2.785 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000531/0.4758, allocations: 207.9 kB / 1.385 GB, free: 2.582 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000378/0.4762, allocations: 316.9 kB / 1.385 GB, free: 2.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.4873, allocations: 5.698 MB / 1.391 GB, free: 12.55 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03486/0.5221, allocations: 21.92 MB / 1.412 GB, free: 5.996 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/0.5252, allocations: 1.55 MB / 1.414 GB, free: 4.441 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.527, allocations: 1.12 MB / 1.415 GB, free: 3.32 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.5271, allocations: 17.31 kB / 1.415 GB, free: 3.301 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.5271, allocations: 47.86 kB / 1.415 GB, free: 3.246 MB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 4.118e-06/0.5271, allocations: 0 / 1.415 GB, free: 3.246 MB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01432/0.5414, allocations: 6.191 MB / 1.421 GB, free: 13.01 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.5415, allocations: 68.72 kB / 1.421 GB, free: 12.93 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.5439, allocations: 1.407 MB / 1.422 GB, free: 11.52 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.544, allocations: 45.7 kB / 1.423 GB, free: 11.47 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.5458, allocations: 2.068 MB / 1.425 GB, free: 9.387 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007123/0.5465, allocations: 0.4996 MB / 1.425 GB, free: 8.883 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006415/0.5471, allocations: 355.4 kB / 1.425 GB, free: 8.527 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.5473, allocations: 301.1 kB / 1.426 GB, free: 8.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.5489, allocations: 0.9096 MB / 1.427 GB, free: 7.32 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.5509, allocations: 1.589 MB / 1.428 GB, free: 5.422 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/0.5546, allocations: 2.733 MB / 1.431 GB, free: 2.375 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.5547, allocations: 8 kB / 1.431 GB, free: 2.367 MB / 1.123 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006602/0.5613, allocations: 3.5 MB / 1.434 GB, free: 14.82 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.5613, allocations: 19.94 kB / 1.434 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.5613, allocations: 27.98 kB / 1.434 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/0.5641, allocations: 0.9081 MB / 1.435 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.5653, allocations: 347.4 kB / 1.435 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/0.5886, allocations: 21.46 MB / 1.456 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.5904, allocations: 103.9 kB / 1.457 GB, free: 6.695 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.5905, allocations: 88 kB / 1.457 GB, free: 6.609 MB / 1.154 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002744/0.5933, allocations: 1.602 MB / 1.458 GB, free: 4.996 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.5937, allocations: 206.7 kB / 1.458 GB, free: 4.793 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/0.5993, allocations: 2.963 MB / 1.461 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.5993, allocations: 12 kB / 1.461 GB, free: 1.766 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.5993, allocations: 19.94 kB / 1.461 GB, free: 1.746 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.5994, allocations: 7.969 kB / 1.461 GB, free: 1.738 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.6114, allocations: 5.991 MB / 1.467 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.6114, allocations: 7.938 kB / 1.467 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.6123, allocations: 179.6 kB / 1.467 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.6148, allocations: 0.8264 MB / 1.468 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-05/0.6149, allocations: 28 kB / 1.468 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/0.6367, allocations: 20.34 MB / 1.488 GB, free: 4.973 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.6367, allocations: 8 kB / 1.488 GB, free: 4.965 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006082/0.6428, allocations: 2.998 MB / 1.491 GB, free: 1.859 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.644, allocations: 382.5 kB / 1.491 GB, free: 1.484 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.6443, allocations: 36 kB / 1.491 GB, free: 1.449 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.6451, allocations: 67.91 kB / 1.491 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/0.6455, allocations: 140.5 kB / 1.492 GB, free: 1.242 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.6456, allocations: 36 kB / 1.492 GB, free: 1.207 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001317/0.6469, allocations: 0.8903 MB / 1.492 GB, free: 332 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6469, allocations: 0 / 1.492 GB, free: 332 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.002882/0.6498, allocations: 0.7852 MB / 1.493 GB, free: 15.54 MB / 1.201 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002515/0.65, allocations: 146.2 kB / 1.493 GB, free: 15.39 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006316/0.6563, allocations: 3.914 MB / 1.497 GB, free: 11.32 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6564, allocations: 0 / 1.497 GB, free: 11.32 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004229/0.6606, allocations: 2.674 MB / 1.5 GB, free: 8.492 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.6641, allocations: 0.711 MB / 1.5 GB, free: 7.809 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.6779, allocations: 7.344 MB / 1.508 GB, free: 376 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003689/0.6816, allocations: 2.561 MB / 1.51 GB, free: 13.78 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001445/0.6831, allocations: 445.2 kB / 1.511 GB, free: 13.34 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.6834, allocations: 107.4 kB / 1.511 GB, free: 13.23 MB / 1.217 GB Notification: Performance of SimCode: time 1.012e-06/0.6834, allocations: 4 kB / 1.511 GB, free: 13.23 MB / 1.217 GB Notification: Performance of Templates: time 0.07233/0.7557, allocations: 41.04 MB / 1.551 GB, free: 4.934 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.593433246016502]