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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 251 MB, free: 13.02 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 2.805/2.805, allocations: 476.7 MB / 0.7646 GB, free: 9.91 MB / 0.6231 GB " [Timeout remaining time 177] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.89 kB / 1.11 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8109, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04358/0.8545, allocations: 34.81 MB / 1.308 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02676/0.8813, allocations: 15.27 MB / 1.323 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004287/0.8856, allocations: 206.4 kB / 1.323 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.8962, allocations: 3.815 MB / 1.327 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009645/0.9059, allocations: 3.011 MB / 1.33 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006983/0.9129, allocations: 2.39 MB / 1.332 GB, free: 8.527 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01361/0.9265, allocations: 8.822 MB / 1.341 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.9368, allocations: 5.092 MB / 1.346 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007226/0.9441, allocations: 4.067 MB / 1.35 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007799/0.9519, allocations: 4.26 MB / 1.354 GB, free: 2.121 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002219/0.9541, allocations: 0.7148 MB / 1.355 GB, free: 1.406 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004904/0.959, allocations: 1.748 MB / 1.357 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004761/0.9638, allocations: 2.899 MB / 1.359 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0074/0.9712, allocations: 3.388 MB / 1.363 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.9875, allocations: 11.22 MB / 1.374 GB, free: 14.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9875, allocations: 4 kB / 1.374 GB, free: 14.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9875, allocations: 0 / 1.374 GB, free: 14.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003426/0.9879, allocations: 4 kB / 1.374 GB, free: 14.08 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.01453/1.002, allocations: 6.057 MB / 1.38 GB, free: 7.953 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.002, allocations: 11.98 kB / 1.38 GB, free: 7.941 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007128/1.01, allocations: 1.168 MB / 1.381 GB, free: 6.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007783/1.017, allocations: 3.466 MB / 1.384 GB, free: 3.215 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/1.018, allocations: 378.4 kB / 1.385 GB, free: 2.844 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/1.019, allocations: 496 kB / 1.385 GB, free: 2.359 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01924/1.038, allocations: 8.005 MB / 1.393 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/1.038, allocations: 23.83 kB / 1.393 GB, free: 10.05 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007571/1.039, allocations: 220 kB / 1.393 GB, free: 9.836 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001055/1.04, allocations: 441.6 kB / 1.393 GB, free: 9.402 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/1.053, allocations: 6.085 MB / 1.399 GB, free: 3.305 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/1.1, allocations: 34.65 MB / 1.433 GB, free: 13.46 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/1.103, allocations: 1.917 MB / 1.435 GB, free: 11.54 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/1.106, allocations: 1.736 MB / 1.437 GB, free: 9.797 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/1.106, allocations: 22 kB / 1.437 GB, free: 9.773 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/1.106, allocations: 64.5 kB / 1.437 GB, free: 9.703 MB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 3.256e-06/1.106, allocations: 0 / 1.437 GB, free: 9.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.1502/1.256, allocations: 38.69 MB / 1.475 GB, free: 2.961 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/1.256, allocations: 77.58 kB / 1.475 GB, free: 2.871 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/1.26, allocations: 2.29 MB / 1.477 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003426/1.26, allocations: 73.7 kB / 1.477 GB, free: 500 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.262, allocations: 2.334 MB / 1.479 GB, free: 14.13 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.263, allocations: 0.976 MB / 1.48 GB, free: 13.15 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009568/1.264, allocations: 0.5102 MB / 1.481 GB, free: 12.63 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.264, allocations: 317 kB / 1.481 GB, free: 12.32 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/1.267, allocations: 1.97 MB / 1.483 GB, free: 10.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/1.271, allocations: 2.602 MB / 1.486 GB, free: 7.5 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/1.278, allocations: 4.929 MB / 1.49 GB, free: 2.297 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/1.278, allocations: 12 kB / 1.49 GB, free: 2.285 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01559/1.294, allocations: 7.65 MB / 1.498 GB, free: 10.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/1.294, allocations: 12 kB / 1.498 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/1.294, allocations: 20 kB / 1.498 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/1.304, allocations: 3.21 MB / 1.501 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/1.306, allocations: 395.4 kB / 1.501 GB, free: 6.922 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05268/1.358, allocations: 33.3 MB / 1.534 GB, free: 4.926 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/1.362, allocations: 163.8 kB / 1.534 GB, free: 4.766 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005665/1.362, allocations: 108.2 kB / 1.534 GB, free: 4.66 MB / 1.232 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.004042/1.366, allocations: 1.805 MB / 1.536 GB, free: 2.848 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.367, allocations: 349.8 kB / 1.536 GB, free: 2.504 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.382, allocations: 7.247 MB / 1.543 GB, free: 11.17 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/1.382, allocations: 28 kB / 1.543 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-05/1.382, allocations: 32 kB / 1.543 GB, free: 11.11 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/1.382, allocations: 11.95 kB / 1.543 GB, free: 11.1 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02583/1.408, allocations: 12.78 MB / 1.556 GB, free: 14.15 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/1.408, allocations: 11.94 kB / 1.556 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.409, allocations: 231.7 kB / 1.556 GB, free: 13.91 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00875/1.418, allocations: 2.848 MB / 1.559 GB, free: 11.04 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003666/1.418, allocations: 52 kB / 1.559 GB, free: 10.99 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04699/1.465, allocations: 32.09 MB / 1.59 GB, free: 10.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.465, allocations: 15.94 kB / 1.59 GB, free: 10.18 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.479, allocations: 6.782 MB / 1.597 GB, free: 3.191 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/1.481, allocations: 0.7241 MB / 1.598 GB, free: 2.465 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005879/1.482, allocations: 59.92 kB / 1.598 GB, free: 2.406 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.484, allocations: 167.8 kB / 1.598 GB, free: 2.242 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009091/1.485, allocations: 269.3 kB / 1.598 GB, free: 1.977 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.485, allocations: 72 kB / 1.598 GB, free: 1.906 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002482/1.487, allocations: 1.537 MB / 1.6 GB, free: 376 kB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.487, allocations: 0 / 1.6 GB, free: 376 kB / 1.295 GB Notification: Performance of remove unused functions: time 0.673/2.16, allocations: 1.365 MB / 1.601 GB, free: 297.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.0005009/2.161, allocations: 172.2 kB / 1.601 GB, free: 297.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01305/2.174, allocations: 6.547 MB / 1.608 GB, free: 296.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/2.174, allocations: 3.25 kB / 1.608 GB, free: 296.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007424/2.181, allocations: 4.253 MB / 1.612 GB, free: 295.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/2.186, allocations: 1.101 MB / 1.613 GB, free: 295.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/2.201, allocations: 10.37 MB / 1.623 GB, free: 291.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003965/2.205, allocations: 3.643 MB / 1.626 GB, free: 290 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002001/2.207, allocations: 0.5565 MB / 1.627 GB, free: 289.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/2.208, allocations: 165.3 kB / 1.627 GB, free: 289.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/2.208, allocations: 3.688 kB / 1.627 GB, free: 289.9 MB / 1.295 GB Notification: Performance of Templates: time 0.1019/2.31, allocations: 79.46 MB / 1.705 GB, free: 224.3 MB / 1.295 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 -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/jenkins/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.446214640513062]