Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.002018/0.002018, 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.00228/0.00228, allocations: 159.7 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.518/1.518, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.869/2.869, allocations: 359.1 MB / 0.6044 GB, free: 14.95 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [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.00271/0.00271, allocations: 67.89 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4617, allocations: 169.9 MB / 1.117 GB, free: 2.633 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 1.02/1.481, allocations: 31.7 MB / 1.148 GB, free: 46.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02382/1.505, allocations: 14.46 MB / 1.163 GB, free: 37.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005353/1.51, allocations: 219.1 kB / 1.163 GB, free: 37.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/1.521, allocations: 3.667 MB / 1.166 GB, free: 34.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/1.532, allocations: 2.967 MB / 1.169 GB, free: 33.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007744/1.54, allocations: 2.351 MB / 1.172 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01554/1.555, allocations: 8.817 MB / 1.18 GB, free: 27.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/1.568, allocations: 5.479 MB / 1.185 GB, free: 25.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/1.582, allocations: 4.225 MB / 1.19 GB, free: 23.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01348/1.596, allocations: 3.928 MB / 1.193 GB, free: 21.85 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00454/1.6, allocations: 0.713 MB / 1.194 GB, free: 21.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008632/1.609, allocations: 1.618 MB / 1.196 GB, free: 21.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.008189/1.617, allocations: 2.879 MB / 1.199 GB, free: 20.25 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01266/1.63, allocations: 2.755 MB / 1.201 GB, free: 18.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02784/1.657, allocations: 11.25 MB / 1.212 GB, free: 15.13 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.657, allocations: 4 kB / 1.212 GB, free: 15.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.405e-06/1.657, allocations: 0 / 1.212 GB, free: 15.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005433/1.658, allocations: 1.094 kB / 1.212 GB, free: 15.12 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02755/1.685, allocations: 6.035 MB / 1.218 GB, free: 11.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.686, allocations: 9.469 kB / 1.218 GB, free: 11.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/1.696, allocations: 1.174 MB / 1.219 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/1.707, allocations: 3.447 MB / 1.223 GB, free: 9.668 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004704/1.708, allocations: 375.8 kB / 1.223 GB, free: 9.496 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/1.71, allocations: 0.4886 MB / 1.223 GB, free: 9.328 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03046/1.741, allocations: 8.71 MB / 1.232 GB, free: 5.137 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/1.741, allocations: 24.44 kB / 1.232 GB, free: 5.121 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006939/1.741, allocations: 215.4 kB / 1.232 GB, free: 4.961 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001435/1.743, allocations: 438.8 kB / 1.233 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.759, allocations: 6.077 MB / 1.239 GB, free: 2.793 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04965/1.809, allocations: 21.23 MB / 1.259 GB, free: 3.012 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/1.813, allocations: 1.911 MB / 1.261 GB, free: 2.004 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/1.816, allocations: 1.751 MB / 1.263 GB, free: 1.082 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/1.816, allocations: 17.91 kB / 1.263 GB, free: 1.078 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.075e-05/1.816, allocations: 61.67 kB / 1.263 GB, free: 1.02 MB / 1.092 GB Notification: Performance of pre-optimization done (n=171): time 3.858e-06/1.816, allocations: 0 / 1.263 GB, free: 1.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=276): time 0.1625/1.978, allocations: 38.67 MB / 1.301 GB, free: 14.56 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/1.979, allocations: 85.52 kB / 1.301 GB, free: 14.46 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/1.984, allocations: 2.039 MB / 1.303 GB, free: 12.41 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0006688/1.985, allocations: 73.7 kB / 1.303 GB, free: 12.33 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002454/1.987, allocations: 2.348 MB / 1.305 GB, free: 9.957 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.989, allocations: 0.9798 MB / 1.306 GB, free: 8.969 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/1.99, allocations: 0.5064 MB / 1.307 GB, free: 8.453 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.991, allocations: 305.1 kB / 1.307 GB, free: 8.152 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003919/1.995, allocations: 1.966 MB / 1.309 GB, free: 6.184 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005568/2, allocations: 2.61 MB / 1.311 GB, free: 3.328 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/2.011, allocations: 4.933 MB / 1.316 GB, free: 14.12 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.576e-05/2.011, allocations: 7.938 kB / 1.316 GB, free: 14.11 MB / 1.154 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01877/2.03, allocations: 7.624 MB / 1.324 GB, free: 6.422 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/2.03, allocations: 12 kB / 1.324 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/2.03, allocations: 16 kB / 1.324 GB, free: 6.395 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/2.04, allocations: 3.216 MB / 1.327 GB, free: 3.164 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/2.042, allocations: 399.3 kB / 1.327 GB, free: 2.773 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05517/2.097, allocations: 32.56 MB / 1.359 GB, free: 1.594 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/2.101, allocations: 163.8 kB / 1.359 GB, free: 1.434 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007642/2.102, allocations: 108 kB / 1.359 GB, free: 1.328 MB / 1.186 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005468/2.108, allocations: 1.801 MB / 1.361 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/2.109, allocations: 322.1 kB / 1.361 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/2.125, allocations: 7.221 MB / 1.368 GB, free: 7.895 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/2.125, allocations: 31.98 kB / 1.368 GB, free: 7.863 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.436e-05/2.126, allocations: 28 kB / 1.368 GB, free: 7.836 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.724e-05/2.126, allocations: 19.83 kB / 1.368 GB, free: 7.816 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02896/2.155, allocations: 11.4 MB / 1.38 GB, free: 12.26 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/2.155, allocations: 4 kB / 1.38 GB, free: 12.26 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/2.156, allocations: 232.5 kB / 1.38 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009045/2.165, allocations: 2.849 MB / 1.383 GB, free: 9.164 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003875/2.165, allocations: 48 kB / 1.383 GB, free: 9.117 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05207/2.217, allocations: 31.36 MB / 1.413 GB, free: 9.129 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/2.217, allocations: 8 kB / 1.413 GB, free: 9.121 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/2.233, allocations: 6.75 MB / 1.42 GB, free: 2.164 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002963/2.236, allocations: 0.697 MB / 1.42 GB, free: 1.465 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/2.238, allocations: 60.69 kB / 1.421 GB, free: 1.406 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/2.24, allocations: 163.8 kB / 1.421 GB, free: 1.246 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/2.242, allocations: 273.2 kB / 1.421 GB, free: 0.9766 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000339/2.242, allocations: 76 kB / 1.421 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003007/2.245, allocations: 1.33 MB / 1.422 GB, free: 15.56 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/2.245, allocations: 4 kB / 1.422 GB, free: 15.56 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00623/2.251, allocations: 1.363 MB / 1.424 GB, free: 14.2 MB / 1.264 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000484/2.252, allocations: 171 kB / 1.424 GB, free: 14.02 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01379/2.265, allocations: 6.565 MB / 1.43 GB, free: 7.355 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/2.265, allocations: 8.312 kB / 1.43 GB, free: 7.348 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.008946/2.274, allocations: 4.249 MB / 1.434 GB, free: 3.02 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006664/2.281, allocations: 1.02 MB / 1.435 GB, free: 2.039 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/2.304, allocations: 10.36 MB / 1.446 GB, free: 7.59 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005407/2.31, allocations: 3.111 MB / 1.449 GB, free: 4.445 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002855/2.312, allocations: 0.522 MB / 1.449 GB, free: 3.918 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/2.313, allocations: 144.5 kB / 1.449 GB, free: 3.777 MB / 1.279 GB Notification: Performance of SimCode: time 1.914e-06/2.313, allocations: 0 / 1.449 GB, free: 3.777 MB / 1.279 GB Notification: Performance of Templates: time 0.1376/2.451, allocations: 75.67 MB / 1.523 GB, free: 9.414 MB / 1.357 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 12.919111520983279]