Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001635/0.001635, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001873/0.001873, allocations: 222.4 kB / 23 MB, free: 4.914 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.36/3.36, allocations: 0.5107 GB / 0.8166 GB, free: 17.76 MB / 0.6231 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.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_latest_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_latest_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.002093/0.002093, allocations: 64.03 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3964, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04299/0.4394, allocations: 31.71 MB / 1.396 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02763/0.467, allocations: 14.45 MB / 1.41 GB, free: 15.24 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004305/0.4713, allocations: 210.4 kB / 1.41 GB, free: 15.04 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.482, allocations: 3.672 MB / 1.413 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.4923, allocations: 2.979 MB / 1.416 GB, free: 8.363 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006816/0.4991, allocations: 2.346 MB / 1.419 GB, free: 6.016 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.5119, allocations: 8.811 MB / 1.427 GB, free: 13.18 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.5236, allocations: 5.495 MB / 1.433 GB, free: 7.559 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008589/0.5322, allocations: 4.215 MB / 1.437 GB, free: 3.332 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007923/0.5401, allocations: 3.932 MB / 1.441 GB, free: 15.39 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002337/0.5424, allocations: 0.7109 MB / 1.441 GB, free: 14.68 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/0.5474, allocations: 1.615 MB / 1.443 GB, free: 13.06 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004966/0.5524, allocations: 2.887 MB / 1.446 GB, free: 10.16 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.007327/0.5597, allocations: 2.747 MB / 1.448 GB, free: 7.406 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.5771, allocations: 11.26 MB / 1.459 GB, free: 12.11 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5771, allocations: 0 / 1.459 GB, free: 12.11 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5771, allocations: 0 / 1.459 GB, free: 12.11 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004108/0.5775, allocations: 0 / 1.459 GB, free: 12.11 MB / 1.154 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.01911/0.5966, allocations: 6.033 MB / 1.465 GB, free: 6.016 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5966, allocations: 12.03 kB / 1.465 GB, free: 6.004 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008341/0.605, allocations: 1.172 MB / 1.466 GB, free: 4.828 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.6156, allocations: 3.446 MB / 1.47 GB, free: 1.293 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005167/0.6161, allocations: 374.4 kB / 1.47 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002446/0.6185, allocations: 0.4883 MB / 1.471 GB, free: 448 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.6405, allocations: 8.701 MB / 1.479 GB, free: 7.297 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002633/0.6408, allocations: 23.77 kB / 1.479 GB, free: 7.273 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/0.6424, allocations: 216 kB / 1.479 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/0.6436, allocations: 445.5 kB / 1.48 GB, free: 6.625 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.6581, allocations: 6.073 MB / 1.486 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04266/0.7007, allocations: 21.22 MB / 1.506 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.704, allocations: 1.916 MB / 1.508 GB, free: 8.922 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.7069, allocations: 1.744 MB / 1.51 GB, free: 7.18 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.707, allocations: 18 kB / 1.51 GB, free: 7.16 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/0.7071, allocations: 56.52 kB / 1.51 GB, free: 7.098 MB / 1.201 GB Notification: Performance of pre-optimization done (n=171): time 3.646e-06/0.7071, allocations: 0 / 1.51 GB, free: 7.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=276): time 0.1593/0.8664, allocations: 38.67 MB / 1.548 GB, free: 384 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.8664, allocations: 85.56 kB / 1.548 GB, free: 284 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.8707, allocations: 2.035 MB / 1.55 GB, free: 14.22 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.8711, allocations: 73.7 kB / 1.55 GB, free: 14.14 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002071/0.8732, allocations: 2.348 MB / 1.552 GB, free: 11.77 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.8746, allocations: 0.9838 MB / 1.553 GB, free: 10.78 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/0.8766, allocations: 0.5063 MB / 1.554 GB, free: 10.27 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.8767, allocations: 305.1 kB / 1.554 GB, free: 9.965 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004114/0.8808, allocations: 1.981 MB / 1.556 GB, free: 7.98 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004596/0.8854, allocations: 2.599 MB / 1.558 GB, free: 5.137 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00845/0.8939, allocations: 4.929 MB / 1.563 GB, free: 15.93 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-05/0.8939, allocations: 11.94 kB / 1.563 GB, free: 15.92 MB / 1.264 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01669/0.9106, allocations: 7.623 MB / 1.571 GB, free: 8.227 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.9107, allocations: 15.98 kB / 1.571 GB, free: 8.211 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/0.9107, allocations: 16 kB / 1.571 GB, free: 8.195 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009871/0.9206, allocations: 3.21 MB / 1.574 GB, free: 4.969 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.9225, allocations: 395.4 kB / 1.574 GB, free: 4.582 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05261/0.9751, allocations: 32.58 MB / 1.606 GB, free: 3.375 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/0.9787, allocations: 163.8 kB / 1.606 GB, free: 3.215 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007164/0.9794, allocations: 115.8 kB / 1.606 GB, free: 3.105 MB / 1.295 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.005075/0.9845, allocations: 1.801 MB / 1.608 GB, free: 1.293 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/0.9857, allocations: 314.1 kB / 1.608 GB, free: 0.9844 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9191/1.905, allocations: 7.225 MB / 1.615 GB, free: 223.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-05/1.905, allocations: 26.67 kB / 1.616 GB, free: 223.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000167/1.905, allocations: 29.25 kB / 1.616 GB, free: 223.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.069e-05/1.905, allocations: 15.55 kB / 1.616 GB, free: 223.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04428/1.949, allocations: 11.39 MB / 1.627 GB, free: 219.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.464e-05/1.949, allocations: 6.938 kB / 1.627 GB, free: 219.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.951, allocations: 231.9 kB / 1.627 GB, free: 219.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0159/1.967, allocations: 2.851 MB / 1.63 GB, free: 219.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005366/1.968, allocations: 53.5 kB / 1.63 GB, free: 219 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0721/2.04, allocations: 31.34 MB / 1.66 GB, free: 201.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/2.04, allocations: 12.58 kB / 1.66 GB, free: 201.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02048/2.06, allocations: 6.754 MB / 1.667 GB, free: 198.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003246/2.064, allocations: 0.6941 MB / 1.668 GB, free: 198.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/2.065, allocations: 58.19 kB / 1.668 GB, free: 198.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003629/2.068, allocations: 171.4 kB / 1.668 GB, free: 198.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/2.07, allocations: 259.7 kB / 1.668 GB, free: 198.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003913/2.07, allocations: 77.55 kB / 1.668 GB, free: 198.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003498/2.074, allocations: 1.33 MB / 1.669 GB, free: 197.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.8e-07/2.074, allocations: 0 / 1.669 GB, free: 197.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.006605/2.08, allocations: 1.366 MB / 1.671 GB, free: 197.6 MB / 1.295 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.0006642/2.081, allocations: 177.9 kB / 1.671 GB, free: 197.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01716/2.098, allocations: 6.571 MB / 1.677 GB, free: 193.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.19e-05/2.098, allocations: 4 kB / 1.677 GB, free: 193.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01185/2.11, allocations: 4.247 MB / 1.682 GB, free: 189.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007837/2.118, allocations: 1.007 MB / 1.683 GB, free: 188.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/2.147, allocations: 11.04 MB / 1.693 GB, free: 177 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006949/2.153, allocations: 3.228 MB / 1.696 GB, free: 173.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/2.154, allocations: 155.4 kB / 1.697 GB, free: 173.6 MB / 1.295 GB Notification: Performance of SimCode: time 9.71e-07/2.154, allocations: 4 kB / 1.697 GB, free: 173.6 MB / 1.295 GB Notification: Performance of Templates: time 0.1864/2.341, allocations: 228 MB / 1.919 GB, free: 9.637 MB / 1.357 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 25.983074926771224]