Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001489/0.001489, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001661/0.001661, allocations: 160.6 kB / 23.01 MB, free: 4.602 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.589/1.589, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.849/2.849, allocations: 359.1 MB / 0.6044 GB, free: 14.86 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.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_11_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_11_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.002148/0.002148, allocations: 67.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4395, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01903/0.4585, allocations: 13.95 MB / 1.131 GB, free: 4.531 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 1.013/1.472, allocations: 9.964 MB / 1.141 GB, free: 46.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/1.474, allocations: 90.25 kB / 1.141 GB, free: 46.4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00481/1.479, allocations: 1.682 MB / 1.143 GB, free: 46.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006973/1.486, allocations: 1.862 MB / 1.144 GB, free: 45.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/1.488, allocations: 0.7555 MB / 1.145 GB, free: 45.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004655/1.493, allocations: 2.761 MB / 1.148 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/1.495, allocations: 1.184 MB / 1.149 GB, free: 44.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/1.498, allocations: 1.733 MB / 1.151 GB, free: 43.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/1.5, allocations: 1.044 MB / 1.152 GB, free: 43.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002423/1.5, allocations: 155.1 kB / 1.152 GB, free: 43.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/1.502, allocations: 0.72 MB / 1.152 GB, free: 43.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005611/1.502, allocations: 0.6087 MB / 1.153 GB, free: 43.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008209/1.503, allocations: 0.776 MB / 1.154 GB, free: 42.81 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/1.506, allocations: 2.765 MB / 1.157 GB, free: 41.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.506, allocations: 0 / 1.157 GB, free: 41.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.234e-06/1.506, allocations: 0 / 1.157 GB, free: 41.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.714e-05/1.506, allocations: 0 / 1.157 GB, free: 41.92 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004037/1.511, allocations: 2.139 MB / 1.159 GB, free: 40.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.511, allocations: 7.75 kB / 1.159 GB, free: 40.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/1.522, allocations: 2.121 MB / 1.161 GB, free: 40.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/1.525, allocations: 1.195 MB / 1.162 GB, free: 39.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.846e-05/1.525, allocations: 90.88 kB / 1.162 GB, free: 39.8 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/1.525, allocations: 113.9 kB / 1.162 GB, free: 39.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005581/1.531, allocations: 2.889 MB / 1.165 GB, free: 38.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/1.531, allocations: 10.8 kB / 1.165 GB, free: 38.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/1.531, allocations: 48.42 kB / 1.165 GB, free: 38.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006688/1.532, allocations: 195.3 kB / 1.165 GB, free: 38.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007638/1.54, allocations: 2.787 MB / 1.168 GB, free: 37.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/1.558, allocations: 8.128 MB / 1.176 GB, free: 32.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00816/1.566, allocations: 2.177 MB / 1.178 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003784/1.569, allocations: 1.195 MB / 1.179 GB, free: 32.01 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/1.57, allocations: 13.78 kB / 1.179 GB, free: 32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/1.57, allocations: 41.53 kB / 1.179 GB, free: 31.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 5.981e-06/1.57, allocations: 0 / 1.179 GB, free: 31.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.0719/1.642, allocations: 15.98 MB / 1.195 GB, free: 28.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/1.642, allocations: 68.69 kB / 1.195 GB, free: 28.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/1.644, allocations: 1.037 MB / 1.196 GB, free: 28.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003603/1.645, allocations: 51.11 kB / 1.196 GB, free: 28.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007666/1.646, allocations: 0.7604 MB / 1.197 GB, free: 27.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008801/1.646, allocations: 0.5351 MB / 1.197 GB, free: 27.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.648, allocations: 289.1 kB / 1.197 GB, free: 26.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/1.648, allocations: 310.3 kB / 1.198 GB, free: 26.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004448/1.652, allocations: 1.513 MB / 1.199 GB, free: 26.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004865/1.657, allocations: 1.772 MB / 1.201 GB, free: 25.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009159/1.666, allocations: 3.373 MB / 1.204 GB, free: 24.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/1.666, allocations: 1.844 kB / 1.204 GB, free: 24.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01664/1.683, allocations: 5.199 MB / 1.209 GB, free: 22.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/1.683, allocations: 12.23 kB / 1.209 GB, free: 22.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/1.683, allocations: 7.281 kB / 1.209 GB, free: 22.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008168/1.691, allocations: 1.877 MB / 1.211 GB, free: 21.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.694, allocations: 418.8 kB / 1.212 GB, free: 21.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03531/1.729, allocations: 22.85 MB / 1.234 GB, free: 6.246 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/1.732, allocations: 308.1 kB / 1.234 GB, free: 6.098 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005859/1.733, allocations: 69.97 kB / 1.234 GB, free: 6.074 MB / 1.076 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.001793/1.735, allocations: 465.4 kB / 1.235 GB, free: 5.746 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008537/1.736, allocations: 170 kB / 1.235 GB, free: 5.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/1.751, allocations: 5.244 MB / 1.24 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/1.751, allocations: 14.81 kB / 1.24 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001045/1.751, allocations: 18.88 kB / 1.24 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/1.751, allocations: 7.969 kB / 1.24 GB, free: 2.602 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/1.772, allocations: 6.802 MB / 1.247 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/1.772, allocations: 3.094 kB / 1.247 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.774, allocations: 351.9 kB / 1.247 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007533/1.781, allocations: 1.7 MB / 1.249 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000433/1.782, allocations: 41.34 kB / 1.249 GB, free: 13.62 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03603/1.818, allocations: 22.03 MB / 1.27 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.818, allocations: 4.562 kB / 1.27 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.833, allocations: 4.825 MB / 1.275 GB, free: 6.109 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.835, allocations: 406.7 kB / 1.275 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007433/1.836, allocations: 31.98 kB / 1.275 GB, free: 5.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.839, allocations: 311.5 kB / 1.276 GB, free: 5.375 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008198/1.84, allocations: 160.9 kB / 1.276 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/1.84, allocations: 55.91 kB / 1.276 GB, free: 5.16 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001616/1.842, allocations: 0.6918 MB / 1.276 GB, free: 4.465 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.842, allocations: 0 / 1.276 GB, free: 4.465 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003923/1.846, allocations: 0.6523 MB / 1.277 GB, free: 3.812 MB / 1.107 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.0005082/1.846, allocations: 149.8 kB / 1.277 GB, free: 3.66 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.859, allocations: 4.914 MB / 1.282 GB, free: 14.64 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.859, allocations: 0 / 1.282 GB, free: 14.64 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.008433/1.868, allocations: 3.276 MB / 1.285 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/1.872, allocations: 0.5189 MB / 1.286 GB, free: 10.76 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.884, allocations: 4.342 MB / 1.29 GB, free: 6.367 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/1.887, allocations: 0.9838 MB / 1.291 GB, free: 5.344 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002084/1.889, allocations: 361.2 kB / 1.291 GB, free: 4.984 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/1.889, allocations: 100.4 kB / 1.291 GB, free: 4.887 MB / 1.123 GB Notification: Performance of SimCode: time 1.893e-06/1.889, allocations: 4 kB / 1.291 GB, free: 4.883 MB / 1.123 GB Notification: Performance of Templates: time 0.09062/1.98, allocations: 46.78 MB / 1.337 GB, free: 6.867 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.541167933959514]